信息网络安全 ›› 2023, Vol. 23 ›› Issue (9): 108-117.doi: 10.3969/j.issn.1671-1122.2023.09.010

• 技术研究 • 上一篇    下一篇

基于HotStuff改进的多主节点共识算法

公鹏飞1(), 谢四江1,2, 程安东2   

  1. 1.西安电子科技大学计算机科学与技术学院,西安 710068
    2.北京电子科技学院网络空间安全系,北京 100070
  • 收稿日期:2023-02-21 出版日期:2023-09-10 发布日期:2023-09-18
  • 通讯作者: 公鹏飞 E-mail:970903247@qq.com
  • 作者简介:公鹏飞(1997—),男,山东,硕士研究生,主要研究方向为区块链共识算法|谢四江(1971—),男,湖北,正高级工程师,硕士,主要研究方向为密码系统、量子保密和通信网络安全体系|程安东(1998—),男,山西,硕士研究生,主要研究方向为量子安全和区块链
  • 基金资助:
    广东省重点研发计划(2020B03030100001)

The Multi-Leader Consensus Algorithm Based on Improvements to HotStuff

GONG Pengfei1(), XIE Sijiang1,2, CHENG Andong2   

  1. 1. College of Computer Science and Technology, Xi’an University of Electronic Technology, Xi’an 710068, China
    2. Department of Cyberspace Security, Beijing Electronic Science and Technology Institute, Beijing 100070, China
  • Received:2023-02-21 Online:2023-09-10 Published:2023-09-18
  • Contact: GONG Pengfei E-mail:970903247@qq.com

摘要:

针对区块链中拜占庭容错(Byzantine Fault Tolerance,BFT)类共识算法存在的性能瓶颈问题,文章提出一种基于HotStuff改进的多主节点共识算法,即MLH (Multi Leader HotStuff)共识算法。该算法引入了不在关键路径上的协调阶段,结合轮次内收集投票、跨轮次提交区块等机制,令多个节点同时成为主节点,使算法可以并行提交区块,提升了算法的计算效率。另外,通过结合门限签名与聚合签名降低了分区内的通信复杂度,使MLH算法在连续视图切换的情况下仍保持线性通信复杂度不变。实验结果表明,MLH算法在时延和吞吐量方面都有较好的表现。

关键词: 区块链, 共识算法, HotStuff算法, 多主节点, 吞吐量

Abstract:

In response to the performance bottleneck caused by Byzantine fault tolerant (BFT) class consensus algorithm in blockchain, a HotStuff-based on improved multi-principal node consensus algorithm was proposed, namely multi leader HotStuff (MLH) consensus algorithm. The algorithm introduced a coordination phase that was not on the critical path, and combined mechanisms such as intra-round collection of votes and cross-round block submission, so that multiple nodes became master nodes, allowing the algorithm to submit blocks in parallel and improving the computational efficiency of the algorithm. At the same time, the communication complexity within the partition was reduced by combining schemes such as threshold signatures and aggregated signatures, so that the algorithm maintained linear communication complexity after amortization in the case of consecutive view switching. Experimental results verifies that MLH algorithm has a better performance in terms of latency and throughput.

Key words: blockchain, consensus algorithm, HotStuff algorithm, multi-leader, throughput

中图分类号: