The consensus is one of the important factors in a blockchain because it will ensure the data consistency of the nodes in the network, also ensuring the security of the entire blockchain network. KardiaChain uses the DP0S-BFT (Delegated Proof of Stake-Byzantime Fault Tolerance) consensus algorithm. The consensus is divided into two periods: DPoS and BFT.
DPOS (Delegated Proof of Stake)
The DPoS is maintained through the election process. The stakeholders use their coins to vote for “Consensus Delegators” who will secure the network on their behalf. These “Consensus Delegators” may also be referred to as the Proposer-Validators who are responsible for achieving consensus during the generating and validating of new blocks. The voting power is proportional to the number of coins that each Proposer-Validator possesses. Thus, DPoS implements a real solution for a true consensus and democratic voting system. The advantage of DPoS :
will save computing power and energy efficiency.
consensus takes place more quickly.
BFT (Byzantime Fault Tolerance)
The BFT is important to the blockchain because it safeguards against faulty nodes or even destructive ones still maintain the operation. With BFT, it is possible to reach unambiguous finality under all network conditions so long as more than ⅔ of participants agree to the outcome of the block‘s information. The BFT protocol includes:
Propose a block
All participants acknowledge that
The block is finalized and added to the chain when receiving more than ⅔ committed vote from the participants.