Font Size: a A A

Research On Improved Consensus Mechanism Of Delegated Proof Of Stake In Blockchain

Posted on:2021-05-10Degree:MasterType:Thesis
Country:ChinaCandidate:C Y MaFull Text:PDF
GTID:2428330611953110Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Blockchain technology is a new type of application mode for a variety of modern technologies,including many computer application technologies such as consensus algorithms,cryptography,and distributed storage.As an emerging trust model,it realizes the efficient allocation of resources and guarantees the normal operation of infrastructure.The consensus mechanism serves as the core of blockchain technology and maintains consensus among nodes in the network.Consensus efficiency strictly depends on the design of the consensus mechanism.How to make the nodes in the system reach the consensus more quickly is the main goal of the consensus mechanism design.Aiming at the problems of the lack of trust among nodes in the delegated proof of stakes consensus mechanism and the inability to quickly remove malicious nodes in the system,this thesis proposes an improved delegated proof of stake consensus mechanism.The mechanism mainly includes two parts: the improved delegated proof of stake consensus mechanism based on the trust model and the node alternate algorithm based on the improved local outlier factor.The main contents of this thesis are as follows:First,the characteristics and key technologies of the blockchain are described;the characteristics and design requirements of the consensus mechanism in the blockchain;the research status of the consensus mechanism at home and abroad is introduced.Secondly,an improved delegated proof of stake consensus mechanism based on trust model is proposed.The consensus mechanism combines the idea of ring mapping to authenticate the candidate agent node,and calculates the support degree of the candidate agent node according to the authentication result and the number of votes,and selects the first N candidate agent nodes with large support degree as the final agent node to be responsible for the production and verification of the block.After the end of the first round of consensus,the contribution value and contribution level of the agent node will be changed dynamically,and the feedback system will be called to reward and punish the good node and the bad node.Thirdly,a node alternate algorithm based on improved local exception factor is proposed.The algorithm's main job is to monitor vacancies by alternate monitoring,and by using the improved local anomalies factor algorithm to alternate agent node to node detection,and select the corresponding backup strategy for the vacant position backup,solved the system agent node imbalance caused by the vacant position.Finally,simulation code is used to verify the consensus mechanism proposed in this thesis.The experimental results show that the consensus mechanism proposed in this thesis has a good performance in improving the enthusiasm of voting between nodes and the efficiency of removing malicious nodes.
Keywords/Search Tags:blockchain, consensus mechanism, identity authentication, contribution mechanism, feedback system
PDF Full Text Request
Related items