Font Size: a A A

Research On Consensus Mechanism In Blockchain

Posted on:2021-06-13Degree:MasterType:Thesis
Country:ChinaCandidate:Y T YueFull Text:PDF
GTID:2518306452964349Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As a decentralized subversive technology,blockchain technology has been deeply studied by many experts and scholars in recent years.Applications based on blockchain technology are rapidly gaining popularity,covering financial,intellectual property protection,identity authentication,the Internet of Things and healthcare.As one of the key technologies in the blockchain,the consensus mechanism is very important for studying the security of the consensus mechanism and improving the shortcomings of the existing consensus mechanism.This paper studies the consensus mechanism in the blockchain,focusing on the blockchain bifurcation caused by the Po W consensus mechanism in the blockchain.Firstly,the related technologies in the blockchain are studied.Then the common consensus mechanisms are compared,the advantages and disadvantages of the blockchain are analyzed,and the smart contracts in the blockchain are expounded.Aiming at the double spending problem in the blockchain,a pre-mining double spending model is constructed.Considering that the node has been mining for a period of time and mining some blocks before the double spending attack,it has the number of blocks in the double spending attack.Aspect advantages.Firstly,the causes of the bifurcation phenomenon in the blockchain are studied.Then,the existing doublespending model is compared and analyzed,and the probability distribution function used in the existing model is studied.The model is constructed by introducing the time parameter t to consider the pre-excavation time of the node.It is divided into three parts,each part of the model is constructed,and the applicable conditions of the model are set.Finally,the constructed model is experimentally verified,and it is found that the constructed model can improve the probability of double spending success;In-depth research has given two ways to avoid double-spending attacks in blockchains.Aiming at the blockchain bifurcation caused by the Po W consensus mechanism in the blockchain,the PBFT consensus mechanism and the Po W consensus mechanism are proposed to avoid the bifurcation of the blockchain,thus resisting the double spending and selfishness in the blockchain.Mining attacks such as.Firstly,the bifurcation phenolmenon in the blockchain is studied.Then,the existing block generation and verification rules are improved by analyzing the Po W consensus mechanism.The nodes are classified,and the PBFT consensus mechanism is introduced to design and run the PBFT consensus mechanism.The node selection and the replacement strategy of the master node,and finally verify the improved effect of the improved Po W consensus mechanism on the platform based on Ethereum.The experimental results show that the improved Po W consensus mechanism can avoid the blockchain bifurcation phenomenon well,and Significantly increased the speed at which nodes can reach consensus on new blocks.
Keywords/Search Tags:blockchain, consensus mechanism, Pre-excavation double spending model, Bifurcation, Consensus speed
PDF Full Text Request
Related items