Font Size: a A A

Research And Design Of Low-latency Blockchain Consensus Test Platform

Posted on:2022-11-27Degree:MasterType:Thesis
Country:ChinaCandidate:Y WangFull Text:PDF
GTID:2518306764480284Subject:Computer Software and Application of Computer
Abstract/Summary:PDF Full Text Request
Since the birth of the blockchain,it has been attracted wide attention from the society,and has now become an important part of computer applications,distributed systems and information security.However,in the past ten years,most of the blockchains have not entered our daily lives.This is because there are still some technical difficulties in the blockchain that we need to solve.Low throughput is one of the challenges faced by blockchain.For the throughput problem,solutions proposed by industry are also different,such as: using more and more centralized blockchain node to confirm block,shorten the consensus time;changing the block structure or designing a new consensus algorithm,etc.This thesis proposes a new consensus algorithm,and designs a blockchain test platform under the Multi-chain and Elastic-chain modes according to this algorithm.The consensus algorithm proposed in this thesis is based on time series(Po TS,Proof of Time Series).Po TS is divided into three parts: node synchronization algorithm,random number generation algorithm,time series voting election algorithm.Node synchronization algorithm mainly provides voting parameters for subsequent voting,and also reduces the number of participating consensus nodes and network communication overhead.Random number generation algorithm further reduces the number of nodes participating in voting,and provides guarantees for the fairness of packaging nodes.Time series voting algorithm determines the node of final packaged block,and the voting information will be recorded in the Coin Base that generates the new block to ensure the visibility and tamper-proof of the voting results.On the basis of Po TS,this thesis also proposes the definition of real-time transaction(RTT)for blockchain characteristics of low latency.Through RTT,a more accurate evaluation of blockchain performance can be made;a blockchain platform in Multi-chain and Elastic-chain mode is designed,and combined with Po TS to improve the throughput of the blockchain and enhance its scalability.After experimental testing,by deploying multiple Raspberry Pis as the nodes of the blockchain,in the Multi-chain mode,the longest chain time is about 8s per block,and the transactions that can be processed during this period can reach more than 20,000 transactions.The throughput reaches 2500tx/sec.
Keywords/Search Tags:Blockchain, Throughput, Consensus algorithm, Multi-chain, Elastic-chain
PDF Full Text Request
Related items