Skip to main content

Long-Range Attack

An attack that tries to rewrite long stretches of blockchain history by building a competing chain from far back in the past.

An attack that exploits the fact that producing old blocks in a proof-of-stake system costs essentially nothing. An adversary collects old signing keys (or buys them), rebuilds a long alternate chain starting far behind the current tip, and presents it to bootstrapping nodes as the "real" history.

Cardano's answer is the chain-selection rule of Ouroboros Genesis, which lets a fresh or rejoining node compare chain density at the point of divergence and pick the honest branch without trusting any external checkpoint. Genesis is built into the node and is the default on the testnets, but on mainnet it is still opt-in. Nodes there run Ouroboros Praos and rely on trusted bootstrap peers and the fact that a syncing node does not adopt a fork deeper than the security parameter k while it is caught up.

Explore next