spec-bitcoin
Original Bitcoin whitepaper: a peer-to-peer electronic cash system using hash-based proof-of-work chains to prevent double-spending without a trusted third party.
Schemes: SHA-256 proof-of-work, Hashcash, Merkle tree, Simplified Payment Verification
Findings (quotes checked against the source text)
-
Longest proof-of-work chain resolves double-spending; honest majority of CPU power makes attacker catch-up probability fall exponentially with confirmations.
As long as a majority of CPU power is controlled by nodes that are not cooperating to attack the network, they'll generate the longest chain and outpace attackers.
-
Coins are chains of digital signatures, where each owner signs a hash of the previous transaction and the next owner's public key.
Each owner transfers the coin to the next by digitally signing a hash of the previous transaction and the public key of the next owner and adding these to the end of the coin.
-
Merkle tree of transactions lets old spent transactions be pruned while the block hash is preserved.
To facilitate this without breaking the block's hash, transactions are hashed in a Merkle Tree [7][2][5], with only the root included in the block's hash.
-
Simplified payment verification lets a user check payments with only block headers and a Merkle branch, at the cost of vulnerability to an overpowering attacker.
As such, the verification is reliable as long as honest nodes control the network, but is more vulnerable if the network is overpowered by an attacker.
-
Recipient confirmation wait is modeled as a Poisson-weighted gambler's ruin; attacker success falls exponentially in confirmations z.
Given our assumption that p > q, the probability drops exponentially as the number of blocks the attacker has to catch up with increases.
Numbers (as extracted, not quote-checked)
- Block header size with no transactions: about 80 bytes
- Annual header storage at 10-minute blocks: 4.2MB per year
- Attacker success at q=0.10, z=5: P=0.0009137
- Attacker share q needed for P<0.1% at z=10: q=0.30 requires z=24
For builders
Take the confirmation-depth analysis (attacker catch-up probability as a function of q and z) as a template, but it assumes SHA-256 and ECDSA-era signatures, which are not quantum-safe.
Limits
Predates post-quantum concerns; uses no PQ signatures or hashes; assumes honest CPU majority and simplified model of attacker progress.
Topics: consensus chain-design threat-model