Blockchain/Level III · The network/3.3 Consensus and governance/Lesson 1
Nakamoto consensus: the most-work chain
The chain that wins by weight, not by voice
MaterialsThe Bitcoin whitepaper, section 11 (‘Calculations’)A calculator or spreadsheet
Wonder
- How can thousands of strangers agree on a single history without a leader or a vote?
- Why does adding one more block make an old transaction harder to reverse?
- What happens when two chains exist simultaneously for ten minutes?
Explore
- Consensus in Bitcoin is not an election. There is no fixed membership, no leader, and no formal vote. Every full node independently verifies transactions against a comprehensive set of rules. When miners aggregate these valid transactions into blocks, they perform proof-of-work: solving a computationally expensive puzzle that serves as a timestamp. This work anchors the block to the chain, making it part of a global history that is costly to alter.
- When two competing chains appear, every node follows a simple rule: adopt the chain with the most cumulative proof-of-work. When one branch pulls ahead in accumulated work, the other is abandoned, and its transactions return to the mempool unless the winning branch already contains them. This mechanism neutralizes Sybil attacks; creating thousands of fake identities is useless if the holder lacks proportional computational power. Weight, measured in proof of work, decides which valid history wins, not identity.
- Agreement is probabilistic, not absolute. A transaction becomes more secure with each block added on top of it because an attacker must redo the work for that block and every subsequent one to overtake the honest chain. Section 11 of the whitepaper calculates this risk: if an attacker controls a share q of hashpower, the probability of them ever catching up from z blocks behind drops exponentially as z increases.
- For an attacker with only 10% of the network’s hashrate (q = 0.1), the chance of reversing a transaction buried under five confirmations is less than 0.1%. This mathematical decay provides the security model for merchants and exchanges. Short reorganizations, where a few blocks are discarded in favor of another valid chain, are part of normal operation and do not indicate failure but rather the dynamic competition inherent in proof-of-work.
- Section 6 argues that incentives align rational actors with network stability. A miner holding significant hashpower earns more by following the rules than by attacking the system, because the value of their coins depends on the network’s trustworthiness. Destroying that trust would devalue the very assets they hold. This economic coupling ensures that large players have a vested interest in maintaining consensus rather than disrupting it.
- Reproduce the whitepaper’s arithmetic. Section 11 gives a short C program and a table: for an attacker with q = 0.1, the chance of catching up from five blocks behind is about 0.0009, under 0.1%. For q = 0.3 the same five blocks still leave about an 18% chance, and it takes far deeper confirmation to push the risk below 0.1%. Security depends on how much hashpower an attacker could muster, not on a fixed number of blocks.
Key facts
- Nakamoto consensus follows the valid chain with the most cumulative proof-of-work.
- There is no fixed membership or leader; anyone may mine or leave at any time.
- For an attacker with 10% hashpower, the probability of catching up from 5 blocks behind is under 0.1%.
- Short reorganizations are normal operational events in proof-of-work networks.
- Miners have economic incentives to follow rules because their coin value depends on network trust.
- The whitepaper’s Section 11 defines the probabilistic security model for transaction finality.
Exercise nine, six, three, one
9CollectList 9 historical or technical systems that required consensus among multiple parties. Note whether they used a central authority, voting, or computational weight to resolve disputes.
6ClusterGroup these 9 systems into 6 categories based on how they prevented cheating: trusted third party, legal enforcement, reputation scores, stake-based penalties, majority vote, or computational cost.
3DistillReduce the 6 groups to 3 core mechanisms that allow strangers to agree without trusting each other’s intent.
1CrystallizeWrite one sentence explaining why ‘most work’ is a more robust consensus rule than ‘majority of voices.’
Fact check
Dates, figures and claims checked against the published sources listed below.