Font Size: a A A

Design And Implementation Of A Master-slave Multi-chain Integrated Consensus Mechanism Based On Reputation Under Multiple Blockchains

Posted on:2021-10-30Degree:MasterType:Thesis
Country:ChinaCandidate:H Z LiuFull Text:PDF
GTID:2518306512987799Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Blockchain establishes a trust relationship through cryptography technology,reconstructs the information value system,and fundamentally promotes the change of the Internet,allowing which to evolve from information transmission to value transmission.Blockchain technology is constantly innovating.From the 1.0 system of pure currency transactions to the 3.0 system of intelligent application development,it is no longer limited to the single application field in finance,but has extended to all aspects of life,evolving from a single digital asset to diversified information.Blockchain guarantees the decentralization feature through a high-security consensus,but there are still performance bottlenecks such as low transaction processing throughput and large time delay.At the same time,there are many organizations' blockchain systems that are very different in terms of consensus mechanism,ledger organization etc.,causing the different blockchains to form isolated islands of information,which fundamentally hinders blockchain development.In this regard,cross-chain technology appears to overcome the barriers that different blockchains cannot interact with each other.The existing cross-chain mechanisms have disadvantages such as low space utilization,high degree of centralization,and low security.This thesis studies cross-chain technology and its performance flaws in the consensus mechanism.The main contributions are summarized as follows:1.This thesis designs a Proof of Stack(Po S)consensus mechanism based on credibility.First,we use the Verifiable Secret Sharing(VSS)algorithm to improve Coin Tossing,which participates in the generation of globally consistent random number through all nodes.The globally consistent random number drives the consensus generator to determine the ownership of accounting rights based on the proportion of equity and credibility,thereby implementing the Po S algorithm.Secondly,the creditworthiness is introduced to summarize the historical behavior records of nodes and the proportion of stack,and to evaluate the credibility of nodes.Finally,a fork selection strategy based on the accumulated reputation of the blockchain is designed as an important basis for selecting a trusted chain,thereby increasing the attack cost of malicious behaviors,reducing the attack revenue,and improving the security of the consensus mechanism.2.This thesis proposes a master-slave multi-chain integrated consensus mechanism.First,a master-slave multi-chain tree structure is designed.The system initializes a master chain and creates a slave chain anchored with the master chain using Side Chain technology.The master chain or the created slave chain can use the Side Chain technology to create slave chains.Upload the block from the chain to the upper-level block chain,and finally anchor the block from the chain with the master chain block to achieve the global final consistency and increase the cost of block modification.Second,an integrated consensus mechanism is designed.This consensus mechanism runs in the master chain,connects multiple slave chains and the master chain,and authenticates the blocks in multiple slave chains in parallel to improve the transaction speed of the master chain.3.This thesis designs and implements a blockchain system that generates blocks through the above consensus mechanism.Based on the open-source code to implement the P2 P network structure,we implement block processing and inter-node communication processing,and verify its usability by experiments.Based on this,the thesis demonstrates through performance experiments and security experiments that the master-slave multi-chain integration consensus mechanism based on reputation can achieve good transaction processing speed,which is in contrast to traditional Po S or Po W(Proof of Work).Compared with the consensus mechanism,it can better resist malicious attacks such as long-range attacks and double spending attacks.
Keywords/Search Tags:blockchain, master-slave multi-chains, credibility, consensus
PDF Full Text Request
Related items