You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
In a decentralised network with no central authority, how do participants agree on the state of the ledger? Consensus mechanisms are the rules and protocols that allow distributed nodes to reach agreement on which transactions are valid and in what order they are recorded.
In a centralised database, a single administrator decides what data is valid. In a blockchain:
A consensus mechanism must ensure that all honest nodes eventually agree on the same ledger state, even in the presence of faulty or malicious participants.
The foundational challenge of distributed consensus was formalised in 1982 by Lamport, Shostak, and Pease:
Imagine several generals surrounding a city. They must agree on a battle plan (attack or retreat), but some generals may be traitors who send conflicting messages.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.