โ† Blockchain & Cloud Computing learning path
Blockchain & Cloud Computing ยท Module 6 of 10

Consensus mechanisms

How blockchain nodes agree on the truth.

๐Ÿ“– Key ideas

  1. Consensus lets nodes agree which transactions are valid.
  2. Proof of Work: miners solve puzzles (Bitcoin); energy-intensive.
  3. Proof of Stake: validators stake coins (Ethereum since 2022).
  4. Permissioned chains use PBFT/Raft-style consensus.
  5. Trade-offs: security, speed, decentralisation (the blockchain trilemma).
๐Ÿ’ก Real-life example: Consensus is a class vote on the correct answer, with rules making cheating costly.
Proof of WorkConsensus by computational puzzles
Proof of StakeConsensus by staked coins
ValidatorNode proposing/verifying blocks
Blockchain trilemmaSecurity, scalability, decentralisation trade-off