信息网络安全 ›› 2023, Vol. 23 ›› Issue (8): 109-120.doi: 10.3969/j.issn.1671-1122.2023.08.010

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

面向跨链的改进加权拜占庭容错算法

邵震哲, 蒋佳佳(), 赵佳豪, 张玉书   

  1. 南京航空航天大学计算机科学与技术学院,南京 211106
  • 收稿日期:2023-04-23 出版日期:2023-08-10 发布日期:2023-08-08
  • 通讯作者: 蒋佳佳 E-mail:jiangjiajia@nuaa.edu.cn
  • 作者简介:邵震哲(2002—),男,浙江,硕士研究生,主要研究方向为区块链|蒋佳佳(1997—),女,山东,博士研究生,主要研究方向为区块链与密码学|赵佳豪(1998—),男,安徽,硕士研究生,主要研究方向为区块链与密码学|张玉书(1987—),男,江苏,教授,博士,CCF会员,主要研究方向为多媒体安全、人工智能、区块链、物联网安全、云计算、大数据安全
  • 基金资助:
    国家重点研发计划(2020YFB1005500)

An Improved Weighted Byzantine Fault Tolerance Algorithm for Cross-Chain System

SHAO Zhenzhe, JIANG Jiajia(), ZHAO Jiahao, ZHANG Yushu   

  1. College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics,Nanjing 211106, China
  • Received:2023-04-23 Online:2023-08-10 Published:2023-08-08
  • Contact: JIANG Jiajia E-mail:jiangjiajia@nuaa.edu.cn

摘要:

中继链是被广泛认可的跨链技术之一,当前跨链多采用实用拜占庭容错及其改进算法,如加权拜占庭容错(Weighted Practical Byzantine Fault Tolerance,WPBFT)算法。WPBFT算法为节点附加权重,降低恶意节点的影响,但其权重更新机制简单,作恶成本较低,严重威胁了系统的安全。为此,针对中继链安全和效率需求,文章提出一种应用于中继链的改进加权拜占庭容错(Improved Weighted Practical Byzantine Fault Tolerance,IWPBFT)算法。该算法对WPBFT算法的共识过程和权重变更机制进行改进,设计了新的权重更新和节点奖惩机制。实验表明,IWPBFT算法主节点出错概率较低,共识成功率较高,可有效提高中继链的安全性、可靠性和容错性,降低共识时延,提升中继链的跨链效率。

关键词: 区块链, 跨链, 共识算法, 拜占庭容错

Abstract:

The relay chain is one of the widely recognized cross-chain technologies. Currently, practical Byzantine fault tolerance and its improved algorithms, such as weighted practical Byzantine fault tolerance(WPBFT), are mostly used in cross-chain scenarios. WPBFT attaches weights to nodes to reduce the impact of malicious nodes, but its weight update mechanism is simple, in which the cost of evil is low, thus threatening the security of the whole system. To solve the problem, an improved practical weighted Byzantine fault tolerance(IWPBFT) was proposed for relay chains with safety and efficiency requirements, which improved the consensus process and weight change mechanism of WPBFT. This algorithm proposed a new weight update mechanism and node reward and punishment mechanism. Experiments show that the leader node has a lower error rate and a higher consensus success rate. IWPBFT improves the security, reliability, and fault tolerance of the relay chain, reduces the delay, and improves the cross-chain efficiency of the relay chain.

Key words: blockchain, cross-chain, consensus algorithm, Byzantine fault tolerance

中图分类号: