信息网络安全 ›› 2025, Vol. 25 ›› Issue (9): 1447-1455.doi: 10.3969/j.issn.1671-1122.2025.09.012

• 入选论文 • 上一篇    下一篇

基于HotStuff和多叉树的改进共识算法

杨建新1,2, 汪晓丁1,2, 林晖1,2()   

  1. 1.福建师范大学计算机与网络空间安全学院,福州 350117
    2.网络安全与教育信息化福建省高校工程研究中心,福州 350117
  • 收稿日期:2024-06-28 出版日期:2025-09-10 发布日期:2025-09-18
  • 通讯作者: 林晖 linhui@fjnu.edu.cn
  • 作者简介:杨建新(2000—),男,福建,硕士研究生,主要研究方向为区块链共识协议|汪晓丁(1982—),男,福建,副教授,博士,CCF会员,主要研究方向为网络优化、无线网络通信|林晖(1977—),男,福建,教授,博士,CCF会员,主要研究方向为机器学习、移动边缘计算、无线网络安全、区块链
  • 基金资助:
    国家自然科学基金(U1905211);福建省高校产学研重点项目(2024H6008)

Improved Consensus Algorithm Based on HotStuff and Multi-Ary Trees

YANG Jianxin1,2, WANG Xiaoding1,2, LIN Hui1,2()   

  1. 1. College of Computer and Cyber Security, Fujian Normal University, Fuzhou 350117, China
    2. Fujian Provincial University Engineering Research Center of Cyber Security and Education Information, Fuzhou 350117, China
  • Received:2024-06-28 Online:2025-09-10 Published:2025-09-18

摘要:

为解决区块链拜占庭容错共识协议中通信复杂度高、可扩展性差和领导者审查等问题,文章提出一种基于HotStuff和多叉树的改进共识算法。该算法在签名机制中引入BLS签名以实现聚合验证,显著减少了消息开销;利用多叉树结构实现负载均衡,提升了区块处理的并行度;通过流水线技术优化投票和提交阶段,降低了共识时延;采用积极的领导者轮换策略,解决恶意或低效领导者造成的系统性能下降问题。实验结果表明,在100个节点的场景下,该算法的吞吐量较传统HotStuff算法提升了约5倍。当网络往返时延由50 ms增至400 ms时,吞吐量仅下降9%,仍保持较高稳定性。同时,在多种网络环境下,该算法展现出更低的交易确认时延。因此,该算法在降低通信复杂度、增强容错能力和提升性能方面具有显著优势,为高性能区块链系统的设计与应用提供了参考。

关键词: 区块链, 共识算法, HotStuff, 多叉树

Abstract:

This paper presented an improved consensus algorithm based on HotStuff and multi-ary trees to address the issues of high communication complexity, poor scalability, and leader censorship in Byzantine fault-tolerant consensus protocols for blockchain. This algorithm introduced BLS signature into the signature mechanism to achieve aggregation verification, significantly reducing message overhead. Using multi-ary trees structure to achieve load balancing and improved the parallelism of block processing. By optimizing the voting and submission stages through pipeline technology, consensus latency had been reduced, and adopted an active leadership rotation strategy to address the system performance degradation caused by malicious or inefficient leaders. The results show that with a total of 100 system nodes, this algorithm consensus algorithm achieves a throughput five times higher than the traditional HotStuff consensus algorithm. Moreover, when round-trip time increases from 50ms to 400ms, throughput only decreases by 9% and still maintained high stability. Meanwhile, in various network environments, this algorithm exhibits lower transaction confirmation latency. Therefore, this algorithm has significant advantages in reducing communication complexity, enhancing fault tolerance, and improving performance, providing reference for the design and application of high-performance blockchain systems.

Key words: blockchain, consensus algorithm, HotStuff, multi-ary trees

中图分类号: