In such a dynamically changing state of the blockchain, these publicly shared ledgers require an efficient, fair, real-time, functional, reliable, and secure mechanism to ensure that all transactions occurring on the network are genuine and that all participants agree on a consensus on the ledger’s status. This critical task is carried out by the consensus mechanism, which is a set of rules that determines the legitimacy of contributions made by the various blockchain participants.