Blockchain Deep Dive Appendix: Technical Supplement

This appendix is part of CryptoQuibbler’s Blockchain Deep Dive series. For the broader narrative — from double-spending to blockchains as political institutions — see our main feature: Blockchain Deep Dive #0: What Is Blockchain, Really?

A. Merkle Proof Walkthrough

Prove txB exists → provide hB, hA, hCD. Verifier reconstructs root.


B. Proof-of-Work Math

Expected time = Difficulty ÷ Hashrate.

Difficulty climbs, block time grows.


C. Proof-of-Stake Finality

Participation matters: 100% → 2 epochs, 50% → 4 epochs.


D. Nakamoto’s Probabilistic Finality (Deep Dive)


The Problem:

If an attacker controls hashpower q, and honest miners p = 1 - q, what’s the chance the attacker can eventually catch up after the honest chain is z blocks ahead?


Whitepaper Formula:

P = \sum_{k=0}^{\infty} \frac{λ^k e^{-λ}}{k!} \cdot \Big(1 - \Big(\frac{q}{p}\Big)^{z-k}\Big)


The Whitepaper models the race using Poisson distribution, which describes the probability of the attacker finding k blocks while honest miners produce z. For example, with z=6 confirmations and attacker share q=10%, the distribution looks like this:

where

  • λ = z \cdot \frac{q}{p}

  • the term \frac{λ^k e^{-λ}}{k!} is the Poisson probability of attacker mining k blocks while honest mines z.


Intuition:

  • If attacker is weak (q small), the odds decay exponentially with confirmations.

  • Each confirmation is like adding another wall of bricks; scaling the attack cost.

  • If attacker has 10% hashrate: 1 confirmation → ~20%, 3 → ~1%, 6 → ~0.02%.

    This exponential decay is shown below:

  • q = 10% attacker: after 6 confirmations → ~0.02% chance.

  • q = 20% attacker: after 6 confirmations → still ~1% chance.

  • q = 30% attacker: even 10 confirmations may not be safe.

  • The same model can be visualized as a heatmap, showing how attacker power (q) and confirmation depth (z) interact.Attack Success Probability (Visualization)


Why It Matters

  • Bitcoin’s finality is probabilistic. There is always a nonzero chance, shrinking with confirmations.

  • Ethereum PoS finality is economic. After ~12 minutes, history is finalized unless billions in ETH are burned.

  • Design trade-off: PoW relies on probability + physics, PoS relies on economic penalties.


CryptoQuibbler Note:

This is why “6 confirmations” became cultural shorthand in Bitcoin. It’s not magic — it’s quantified exponential decay of risk.

This technical appendix is a companion to our main essay. For the broader story — the history, philosophy, and implications of blockchains — return to: Blockchain Deep Dive #0: What Is Blockchain, Really?

Comments