โ Blockchain & Cloud Computing learning pathBlockchain & Cloud Computing ยท Module 6 of 10
Consensus mechanisms
How blockchain nodes agree on the truth.
๐ Key ideas
- Consensus lets nodes agree which transactions are valid.
- Proof of Work: miners solve puzzles (Bitcoin); energy-intensive.
- Proof of Stake: validators stake coins (Ethereum since 2022).
- Permissioned chains use PBFT/Raft-style consensus.
- 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