Consensus node evaluation method of dpos based on peertrust
A node and consensus technology, which is applied in the field of consensus node evaluation of DPos, can solve the problems of not being able to block malicious nodes in a timely and effective manner, voting in the hands of a few people, and the enthusiasm of voting nodes is not high, so as to ensure uniqueness, reduce dependence, Positivity-enhancing effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] A consensus node evaluation method based on PeerTrust's DPos of the present invention includes the following steps:
[0051] S100, the node invokes the smart contract to perform identity registration, obtains a registered account based on the identity statement submitted by the node, and stores the verified registered account in the global registered account list, where the smart contract and the global registered account list are both deployed in the district in the blockchain;
[0052] S200. Initialize the trust value of the node, the node participates in voting as a candidate node, and other candidate nodes that vote for the candidate node are voting nodes;
[0053] S300. For each candidate node, at the beginning of the next election cycle, obtain the trust value of the candidate node itself in the previous cycle, and by the beginning of the current cycle, count the total number of votes obtained by the candidate node from the voting nodes, and Count the total numbe...
Embodiment 2
[0103] An apparatus of the present invention includes: at least one memory and at least one processor, the at least one memory is used to store a machine-readable program; the at least one processor is used to call the machine-readable program to execute the embodiment 1 public method.
Embodiment 3
[0105]A medium of the present invention is a computer-readable medium, and computer instructions are stored on the computer-readable medium. When the computer instructions are executed by a processor, the computer instructions cause the processor to execute the method disclosed in Embodiment 1. Specifically, it is possible to provide a system or device equipped with a storage medium on which software program codes for implementing the functions of any of the above-described embodiments are stored, and which enables a computer (or CPU or MPU of the system or device) ) to read and execute the program code stored in the storage medium.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


