| CPC H04L 63/1441 (2013.01) [H04L 9/50 (2022.05)] | 18 Claims |

|
1. A computer-implemented method for implementing transition protocols, comprising:
running a first consensus protocol in a set of nodes of a blockchain network;
detecting a liveness attack in the first consensus protocol at a node in the set of nodes;
initiating, based on detecting the liveness attack, a transition protocol enabling a transition from the first consensus protocol to a second consensus protocol;
suspending, when the liveness attack is detected, acceptance of new blocks in the first consensus protocol;
identifying a highest accepted block in the set of nodes from running the first consensus protocol;
setting an initial preference for the second consensus protocol to the highest accepted block;
transitioning to the second consensus protocol, wherein the second consensus protocol is run until a new accepted block is finalized, the new accepted block representing a successful protocol transition; and
broadcasting a complete message based on the new accepted block being finalized, wherein the node receiving the complete message triggers a reinstatement of the first protocol.
|