Font Size: a A A

Analysis And Improvement Of DPoS Consensus Mechanism In CyberMiles

Posted on:2020-04-20Degree:MasterType:Thesis
Country:ChinaCandidate:K L SuiFull Text:PDF
GTID:2428330602458022Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
The birth of blockchain marks the beginning of the construction of a truly trusted Internet.Blockchain provides a new kind of social trust mechanism,which not only discloses information but also protects privacy,and not only makes joint decisions but also protects individual rights and interests.This mechanism improves the efficiency of value interaction and reduces costs.However,there are still many deficiencies in the development process of blockchain technology.For example,in the DPoS consensus mechanism of CyberMiles project,the system choose the block node according to the proportional probability of the number of votes obtained by the nodes.The higher the number of votes obtained,the higher the probability of the node getting the block weight of the network,this may lead to the node with a higher number of votes obtaining the block weight of the network for many times in a row,which will lead to unfair phenomenon.When the block node exceptions can not generate new blocks,the system will continue to select the next block node according to the probability,and the node will be selected as the next block node with a maximum probability of continuous repetition,resulting in block chain network blocking or even collapse,seriously affecting the stability of the system.To cure the above problems,this paper proposes a delegated proof of stake based on random selection called RDPoS.The core idea of the RDPoS consensus mechanism is to change the way of selecting the block node of the DPoS consensus mechanism in CyberMiles project.In this design scheme,node evaluation mechanism is added,delegators can select validators and backup validators nodes according to the node evaluation vote,all validators nodes are a queue,each time a node that produces the block is selected from the queue and removed from the queue,reseting the validator queue until all nodes are blocked.The paper also gives the processing strategy when the node that produces the block is abnormal,so as to ensure that the blockchain network can quickly resume normal operation and protect the interests of each node in the network when blockchain networks are attacked.In this paper,the proposed design scheme is simulated under the laboratory environment,the basic performance and transaction processing capacity are compared under normal and abnormal node conditions.According to the experimental results,the following conclusions are drawn:the RDPoS consensus mechanism proposed in this paper can meet the normal performance requirements of the blockchain system,can solve the problem of continuous multiple blocking of the same node caused by probability selection of block nodes.When the node is attacked,the node exception processing scheme can effectively reduce the impact of the node exception on the blockchain network,improve the network recovery speed and certain anti-attack ability.
Keywords/Search Tags:Blockchain, Consensus Mechanism, Validator, DPoS, RDPoS
PDF Full Text Request
Related items