一种适用于联盟链的共识机制
2019-06-13曹兆磊



摘 要:随着比特币的风靡,区块链技术已经成为当下研究领域的主流。区块链系统根据应用场景的不同,一般分为公有链、联盟链和私有链。由于公有链完全去中心化的性质导致其无法满足企业的需求,所以在实际应用中企业往往选择部分去中心的联盟链。共识机制是区块链的引擎与核心。目前,主流的共识机制主要针对公有链提出,难以适用于联盟链与私有链。在此背景下,论文为联盟链提出一种共识机制。该共识机制不仅解决传统共识效率低的问题,而且在一定程度上可以应对拜占庭容错。
关键词:联盟链;共识机制;拜占庭容错
中图分类号:TP311.13 文献标识码:J
Abstract: With the popularity of bitcoin, blockchain technology has become the mainstream of current research field. Block chain system is generally divided into public blockchain, consortium blockchain and private blockchain. Because of the completely decentralized nature of public blockchain, it can not meet the needs of enterprises, so in practical applications enterprises often choose part of the decentralized consortium blockchain. Consensus mechanism is the engine and core of blockchain. At present, the mainstream consensus mechanism is mainly for the public chain, and it is difficult to apply to the consortium blockchain and private chain. Under this background, this paper proposes a consensus mechanism for the consortium blockchain. This consensus mechanism not only solves the inefficiency of traditional consensus, but also can deal with Byzantine failures.
Key words: consortium chain; consensus mechanism; Byzantine failures
1 引言
区块链是一种去中心化的分布式账本系统,它可以用于登记和发行数字化资产、产权存证和信息追溯等。最早被提出的区块链参与形式被称为公有链,系统的结构完全去中心化,任何用户都能参与并获取链上存储的所有数据,但由于系统开放性的限制,用户的隐私和监督都存在不足,在个别领域的相关应用难以满足效率需求[1]。因此,私有链就随之应运而生,私有链虽然能够解决以上问题,但如果仅仅由各个企业自己单独建立,那么还将是一个个信息孤岛。因此,以Hyperledger为代表的行业内部联盟链将会成为区块链在未来实体应用的主流方向。
共识机制是区块链的核心模块,共识机制能保证在没有中心主体控制下,系统中的各参与方能够遵循相同记账规划,实现数据分布式的一致性[2]。……
