Font Size: a A A

Design And Implementation Of Blockchain Consensus Mechanism Simulation Framework

Posted on:2021-01-22Degree:MasterType:Thesis
Country:ChinaCandidate:S Y ChenFull Text:PDF
GTID:2428330623970852Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Since bitcoin was proposed in 2008,digital currency has ushered in a new era,and the blockchain technology behind it has gradually attracted the attention of people from all walks of life.Blockchain technology is a technology that nodes on the network reach an agreement on the public ledger through a specific consensus mechanism in an untrusted distributed environment.As the core of blockchain technology,consensus mechanism solves the problem of mutual trust between nodes in distributed network.As a feasible method to solve the problem of distributed system consistency,a consensus mechanism with excellent performance can improve the system performance and accelerate the application of blockchain technology.It is of great significance to study the consensus mechanism of blockchain for its capacity expansion,transaction processing speed improvement and security improvement.Starting from the consensus mechanism in the existing blockchain technology foundation,this paper analyzes and summarizes the basic consensus mechanisms such as workload proof and equity proof,designs and implements the simulation framework of consensus algorithm from the aspects of scalability and security,provides the simulation implementation of two popular consensus algorithms and shows the analysis and simulation results.The main work of this paper is as follows:This paper analyzes the specific requirements of consensus algorithm performance simulation framework.At present,there is no effective tool to help research the existing consensus algorithm.Every researcher who tries to design consensus algorithm needs to deal with a series of repeatability problems such as P2 P communication,cryptography,blockchain storage,etc.,thus affecting the research efficiency of consensus algorithm itself.A consensus algorithm simulation framework is designed and implemented.The simulation of consensus algorithm is realized by two experiments.One is the simulation of 51% attack of consensus algorithm,and the other is the performance simulation analysis of pbft consensus algorithm.The simulation results are used to evaluate the performance of the two consensus algorithms.The problem in the development of blockchain is how to design a safe,reliable and efficient consensus mechanism.Building a blockchain consensus algorithm simulation framework,a unified consensus algorithm simulation framework can shield unnecessary bottom implementation details,and let researchers focus on the design and rapid implementation ofconsensus algorithm itself;at the same time,with the help of consensus algorithm simulation framework,it is also conducive to the rapid evaluation and test of consensus algorithm;moreover,simulation can be repeated,so It can be optimized at any time to achieve results that cannot be achieved by other means.
Keywords/Search Tags:Blockchain, Consensus, Byzantine fault tolerance, Proof-of-work, Performance simulation
PDF Full Text Request
Related items