Formal Modelling of PBFT Consensus Algorithm in Event-B
【Author】 Li, Jie; Hu, Kai; Zhu, Jian; Bodeveix, Jean-Paul; Ye, Yafei
【Source】WIRELESS COMMUNICATIONS & MOBILE COMPUTING
【影响因子】2.146
【Abstract】The practical Byzantine Fault Tolerance (PBFT) is a classical consensus algorithm that has been widely applied in an alliance blockchain system to make all nodes agree to certain transactions under the assumption that the proportion of Byzantine nodes is no more than 1/3. It is prevalent due to its performance, simplicity, and claimed correctness. However, any vulnerability of the consensus algorithm can lead to a significant loss in finance because no one can change the transaction results after execution. This paper proposes a formal development method of the PBFT algorithm by horizontal refinement in Event-B, which allows us to manage the complexity of the proof process by factoring the proof of correctness into several refinement steps. During the development of PBFT, we have specified the core mechanism like parameterized message types, primary node change, and water-mark interval. Furthermore, we present a mechanical verification of the safety and liveness properties of the model in Rodin, which can be partially and widely used to check the blockchain consensus algorithm vulnerability using a refinement tree of algorithms.
【Keywords】
【发表时间】2022 OCT 14
【收录时间】2022-11-11
【文献类型】理论模型
【主题类别】
区块链技术-核心技术-共识机制
【DOI】 10.1155/2022/4467917
评论