Consensus protocols
A consensus protocol is the protocol for validators to agree on one chain of blocks. In particular, the consensus protocol defines,
-
who is allowed to add a new block to the blockchain,
-
how validators choose the chain to which they add a new block and
-
when a block and all included transactions are final, i.e., irrevocably deemed part of the blockchain.
Consensus protocol in Klayr
In the Klayr SDK, the different aspects of the consensus protocol are handled by different sub-protocols as outlined in the table below.
Domain | Protocol | Responsible for |
---|---|---|
Block proposal |
|
|
Agreement on one chain |
Klayr BFT |
|
Certificates |
Klayr Certificates |
|