Consensus is the hard problem — and the real innovation.
What you will learn
Compare PoW and PoS deeply
Explain nodes and network topology
Understand the security budget of a chain
Inside a block
Inside a block
Linking blocks
Linking blocks
The consensus problem
Thousands of strangers must agree on one ledger without trusting each other or a central boss. That's the Byzantine Generals' Problem. Proof-of-work and proof-of-stake are two different answers to it.
PoW: burn energy for truth
Proof-of-work makes writing history expensive: you must spend real electricity to propose a block. Attackers must out-spend the honest majority. The cost is energy; the benefit is extreme simplicity and proven security.
PoS: risk capital for truth
Proof-of-stake replaces energy with capital. Validators lock up stake and can be slashed (lose it) for misbehaving. Security comes from the value at risk. It's far more energy-efficient but introduces different attack vectors (e.g., nothing-at-stake).
💡 The security budget
A chain's security roughly scales with what it pays validators/miners (the 'security budget'). If a chain's fees are tiny, its security budget is tiny — and a wealthy attacker could out-spend it. Security is economic, not just cryptographic.
Nodes: the honest backbone
Nodes store the chain and verify every block against the rules. The more independent full nodes, the harder it is to censor or corrupt the network. Validators produce blocks; nodes verify them. Verification, not production, is the ultimate check on power.
💡 Why run a node matters
If you run a full node, no one can lie to you about the state of the chain — you check every block yourself. This is 'don't trust, verify' made concrete, and it's why node count is a real measure of decentralization.
❓ Quick check
The Byzantine Generals' Problem is about:
A) War tactics
B) Reaching agreement among distrusting parties
C) Mining rewards
D) Encryption
Achieving consensus without trust.
(Knowledge check — full exam is next)
Key takeaways
PoW spends energy; PoS risks capital — both buy consensus
Security is economic (the security budget), not just code
Nodes verify; running one is the purest 'don't trust, verify'
📝 Weekly Exam — pass with 80% to unlock next week
10 questions. Review the Deep Dive and courses before attempting.
1. The core problem consensus solves is:
Byzantine Generals' Problem.
2. Proof-of-work secures the chain by:
Energy = expensive to fake.
3. Proof-of-stake secures the chain by:
Slashable stake aligns incentives.
4. A 'slash' in PoS means:
Slashing punishes dishonest validators.
5. A chain's 'security budget' is roughly:
Security scales with what's paid to secure it.
6. Nodes vs validators: nodes primarily:
Nodes verify; validators produce.
7. Running a full node lets you:
You check every block yourself.
8. A chain with tiny fees likely has:
Low fees → low security budget.
9. 'Nothing-at-stake' is a concern in:
PoS validators may have little cost to validate multiple forks.
10. The ultimate check on validator power is:
Nodes are the honest backbone.
Your score: —
🛠 Weekly Project
Compare the security of two chains.
1
Pick two blockchains (e.g., Bitcoin and a smaller alt).
2
Look up each one's consensus mechanism and approximate annual security spend.
3
Note the number of full nodes for each (if available).
4
Write 2 sentences on which is more decentralized and why.