Consensus in Hyperledger Fabric

The consensus mechanism in Hyperledger Fabric consists of three steps:

  1. Transaction endorsement: This process endorses the transactions by simulating the transaction execution process.
  2. Ordering: This is a service provided by the cluster of orderers which takes endorsed transactions and decide on a sequence in which the transactions will be written to the ledger.
  3. Validation and commitment: This process is executed by committing peers which first validates the transactions received from the orderers and then commit that transaction to the ledger.

These steps are shown in the following flowchart:

The consensus ...

Get Mastering Blockchain - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.