Q&A-1Explain tamper evidence and the limits of blockchain immutability.
Answer
Core answer (first 90 seconds).
Tamper evidence means any change to committed history is detectable by anyone holding the chain, because each block header commits to its parent's hash. Immutability is the stronger, economic claim: rewriting history costs more than it gains, under stated assumptions. Those assumptions are the whole answer: name the adversary threshold, the finality model, and the recovery path, or you are just asserting.
Mechanism.
A block header contains the parent block's hash. Change one byte in block N and its hash changes, so block N+1's parent pointer no longer matches; every later block must be re-mined or re-signed. Detection is mechanical: a full node checks (1) parent-hash linkage, (2) that the header meets the consensus rule (PoW below the difficulty target, or a valid signature set) and (3) state-transition validity. A light client checks headers and the PoW chain but trusts the heaviest chain.
| Bitcoin (PoW) | Ethereum (PoS, post-Merge) | |
|---|---|---|
| Rewrite threshold | >50% of hashrate | ≥1/3 of staked ETH signing conflicting checkpoints |
| Cost | Rent/acquire majority hashrate; ~600 EH/s network (2024) makes this infeasible at scale | Attacker's stake is slashed, plus a correlation penalty; ~34M ETH staked makes this multi-billion-dollar |
| Finality | Probabilistic; 6 confirmations (~60 min) is convention for high-value settlement | Casper FFG: 32 slots/epoch × 12 s = 6.4 min/epoch; justified then finalized ~2 epochs later (~12.8 min) |
Finality is economic, not physical.
Failure modes, with detection.
- 51% on small PoW chains. Ethereum Classic was reorged
7,000 blocks in Aug 2020, enabling double-spends ($5.6M reported). Detection: sudden deep reorg, orphaned blocks, exchange deposit reversals. - Governance override. Ethereum's 2016 hard fork moved ~3.6M ETH from the DAO attacker. Detection: client release with a state change at a fixed block; nodes that do not upgrade split off.
- Software bug. Bitcoin's 2010 value-overflow bug minted 184 billion BTC in block 74638; patched by hard fork within hours. Detection: supply invariant violated, node divergence.
- Weak subjectivity (PoS). A brand-new node cannot verify history from genesis alone; it needs a recent trusted checkpoint (weak-subjectivity period on the order of weeks). Detection: none from the node itself. It is a trust assumption.
- Social recovery / key compromise. An exchange or foundation can freeze or move funds without touching consensus.
Trade-offs.
Chain-anchored hash vs full on-chain storage: anchoring a 32-byte hash proves a document existed at a block time, cheaply, but says nothing about availability or content. You still need the off-chain copy. Full on-chain storage makes content retrievable from the chain but costs gas per byte and is public. Decide by what you must prove: existence/timestamp → anchor; retrievability → store or use a data-availability layer; confidentiality → neither, use encryption or a private ledger.
Immutability also never establishes input truth (garbage in, committed garbage out), legality, or availability.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.