NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Everything is a Race and Nakamoto Always Wins

Amir Dembo, Sreeram Kannan, Ertem Nusret Tas, David Tse, Pramod Viswanath, Xuechao Wang, Ofer Zeitouni

TL;DR

This paper proves that Satoshi Nakamoto’s original 2008 security intuition was exactly right: the simple private double-spend attack is indeed the worst-case attack on longest-chain blockchains. By introducing a novel mathematical framework called "blocktree partitioning," the authors show that the true security threshold perfectly matches the private attack threshold across Proof-of-Work (PoW), Proof-of-Stake (PoS), and Proof-of-Space (PoSpace) protocols, closing a long-standing gap in blockchain security theory.

What Problem Does This Paper Address?

When Nakamoto launched Bitcoin, its security was justified by analyzing a specific scenario: the private double-spend attack, where an adversary secretly mines a parallel chain to outpace the honest network. But for over a decade, a nagging question remained in the academic community: Is the private double-spend attack truly the worst possible attack?

Subsequent research identified more sophisticated strategies, such as balancing attacks and selfish mining. As a result, formal security proofs (like the landmark GKL15 and PSS17 papers) yielded loose security thresholds, leaving a significant gap between what was practically assumed to be secure and what could be mathematically proven against an arbitrary, omniscient adversary. This paper sets out to close that gap and determine the exact security thresholds for longest-chain protocols under network delay.

Methods

The authors tackle this problem by creating a unified continuous-time model ($\Delta$-synchronous network) and introducing two elegant conceptual tools that reduce any complex, arbitrary attack into a simple race:

  1. Blocktree Partitioning: Instead of trying to map out every convoluted way an adversary can broadcast blocks to confuse honest nodes, the authors partition the complex blocktree into independent adversary sub-trees rooted at honest blocks. This allows any general attack to be viewed as multiple adversary chains simultaneously racing against a single "fictitious" chain made entirely of honest blocks.
Figure 2: (a)Nakamoto’s private attack as a race between a single adversary chain and the honest chain. (b) By blocktree par- titioning, a general attack is represented as multiple adversary chains simultaneously racing with a fictitious honest chain. Note that this fictitious chain is formed by only the honest blocks, and may not correspond to the longest chain in the actual system. However, the longest chain in the actual system must grow no slower than this fictitious chain.
  1. Nakamoto Blocks: The authors define a "Nakamoto block" as an honest block that has decisively won the race against all past adversary trees. The key breakthrough is proving that once a Nakamoto block enters the blocktree, the entire prefix of the blockchain up to that block becomes permanently immutable—it can never be reorganized by any adversarial strategy.
Figure 3: Race between the adversary trees and the fictitious honest chain. While there may be multiple adversary trees simultaneously racing with the honest chain, the growth rate of each tree is bounded by the growth rate of the ad- versary chain in the private attack. An honest block is a Nakamoto block when all the previous adversary trees never catch up with the honest chain past that block.

By analyzing the growth rates of these adversarial sub-trees using branching random walks, the authors prove that if an adversary is too weak to succeed in a simple private attack, Nakamoto blocks will inevitably appear frequently, guaranteeing the ledger's persistence and liveness.

Datasets

Not discussed in the paper. This work is purely theoretical and mathematical.

Key Insights and Ideas

  • Nakamoto Always Wins: The most profound insight is that strategic timing and block-withholding do not give an adversary any more power than a straightforward, head-to-head private race.
  • The "Nothing-at-Stake" Neutralization: In Proof-of-Stake protocols (like Ouroboros Praos and SnowWhite), the adversary can mine on all forks simultaneously. Intuitively, this seems to grant them massive power. However, because the lotteries across these forks are perfectly dependent (sharing the same randomness source), the depth of the adversarial tree grows no faster than a single PoW chain. Thus, PoW and PoS share identical security thresholds.
  • Chia’s Exponential Penalty: In Chia's Proof-of-Space protocol, the lotteries on different blocks are completely independent. This allows the adversary to enjoy an exponential explosion of mining opportunities, magnifying their growth rate by a factor of $e$. While Chia's true security threshold still matches its private attack threshold, this extra adversarial power lowers its maximum security limit significantly compared to PoW and PoS.

Key Results

The paper successfully proves that the true security threshold ($\beta^*$) is exactly equal to the private attack threshold ($\beta_{pa}$) across all three consensus models for any network delay $\Delta$ and mining rate $\lambda$.

  • Proof-of-Work & Proof-of-Stake: As the block speed normalized by network delay approaches zero ($\lambda\Delta \to 0$), the true security threshold reaches the iconic 50% mark.
  • Chia Proof-of-Space: Due to independent block lotteries, the security threshold tops out at $1/(1+e) \approx 26.8\%$ as $\lambda\Delta \to 0$.

By proving these exact matches, the authors eliminate the theoretical gaps left by previous security analyses, demonstrating that longest-chain protocols are secure all the way up to their private attack thresholds.

(a) PoW Security Threshold (b) PoS Security Threshold (c) Chia PoSpace Security Threshold
PoW Threshold PoS Threshold Chia Threshold
PoW Threshold
PoS Threshold
Chia Threshold

Limitations and Future Work

  • Ideal Randomness Assumption: The framework assumes ideal cryptographic primitives and perfect sources of randomness for block lotteries, leaving out the specific cryptographic vulnerabilities that might arise in real-world implementations.
  • Continuous-Time Model: The proofs are derived using a continuous-time model (assuming a high frequency of lottery rounds relative to network delay). While realistic for networks like Bitcoin, tightly extending these exact thresholds to discrete-time settings with very slow lottery rounds remains an open path for future verification.

Summary updated

BibTeX
@inproceedings{dembo2020everything,
  author = {Amir Dembo and Sreeram Kannan and Ertem Nusret Tas and David Tse and Pramod Viswanath and Xuechao Wang and Ofer Zeitouni},
  title = {{Everything is a Race and Nakamoto Always Wins}},
  booktitle = {CCS},
  year = {2020},
  doi = {10.1145/3372297.3417290},
}
Figure