• 专利标题: CONSENSUS NODE CHANGING METHOD AND RELATED APPARATUS BASED ON HONEY BADGER BYZANTINE FAULT TOLERANCE CONSENSUS
  • 申请号: EP21178984.7
    申请日: 2021-06-11
  • 公开(公告)号: EP3933640A1
    公开(公告)日: 2022-01-05
  • 发明人: LIAO, Xiaojun
  • 申请人: Alipay (Hangzhou) Information Technology Co., Ltd.
  • 申请人地址: CN Hangzhou, Zhejiang 310000 No. 556 Xixi Road, 8th Floor, Section B Suite 801-11, West Lake District
  • 代理机构: Goddar, Heinz J.
  • 优先权: CN202010630142 20200703
  • 主分类号: G06F21/64
  • IPC分类号: G06F21/64 H04L9/32
CONSENSUS NODE CHANGING METHOD AND RELATED APPARATUS BASED ON HONEY BADGER BYZANTINE FAULT TOLERANCE CONSENSUS
摘要:
Embodiments of this specification provide a consensus node changing method and apparatus based on a Honey Badger Byzantine Fault Tolerance (BFT) consensus mechanism. The method includes: when receiving a transaction for changing a blockchain's consensus node, executing, by a consensus node of the blockchain, the transaction to trigger a smart contract to update a consensus node configuration list of the blockchain, where the consensus node configuration list includes serial numbers allocated to consensus nodes based on a serial number allocation rule specified by the smart contract; associating, by the consensus node based on serial numbers of consensus nodes recorded in the updated consensus node configuration list, another consensus node of the blockchain with at least two state machines locally configured in the consensus node, where each of the state machines is configured with states corresponding to a consensus phase in the Honey Badger BFT consensus mechanism and configured to perform state switching based on a control signal to perform a consensus operation specified by the consensus phase corresponding to a current state of the state machine; and processing, by the consensus node based on the state machines that have been configured locally, a consensus proposal initiated by one or more of the other consensus nodes associated with the state machines.
信息查询
0/0