
A fork choice rule is the algorithm a blockchain node uses to answer one deceptively simple question: given everything I've seen, which block is the tip of the chain right now? Most of the time that question has an obvious answer, because blocks arrive in a neat line. But networks aren't neat. Two valid blocks can appear at nearly the same moment, messages travel at different speeds to different nodes, and for a few seconds thousands of machines around the world hold slightly different views of what “the chain” is. Something has to reconcile those views without a coordinator. That something is the fork choice rule.
It's worth separating this from finality, because the two get blurred constantly. Finality — justification and finalization — is about safety: locking in blocks so deep that reversing them would be economically ruinous. Fork choice is about the live edge: deciding which unconfirmed branch to build on next, above the last locked-in point. Finality tells you what's settled. Fork choice tells you where to add the next brick. A chain needs both, and they operate on different parts of the same structure.
Start with why forks happen at all. A block proposer builds on what it believes is the current head and broadcasts its block. If the previous block was late reaching some nodes, a second proposer might build on an older head instead, producing two blocks that both claim the same parent's slot — a temporary fork. Neither block is invalid. Both follow the rules. The network just has two candidate tips, and every node has to pick one to extend, ideally the same one everyone else picks.
The fork choice rule is the deterministic function that makes that pick. Deterministic is the key word: given the same set of blocks and votes, the rule produces the same head on every node that runs it. No polling, no negotiation. Each node feeds its local view into the same algorithm and converges toward the same answer as information propagates. That's how independent machines agree without talking to each other directly.
Different chains use different rules. Bitcoin's rule, part of Nakamoto consensus, is essentially “follow the chain with the most accumulated proof-of-work” — the heaviest chain by mining effort. Competing tips are resolved by whichever branch attracts more hashpower next. Ethereum's proof-of-stake chain uses a rule called LMD GHOST, and its logic is different in an important way: it counts votes, not length.
Here's the mechanism. Ethereum validators are constantly issuing attestations — signed votes that, among other things, point at the block each validator considers the head. The fork choice starts from the most recent justified checkpoint (a finalized anchor point it will never choose against) and walks forward. At every fork, it doesn't just look at the two immediate child blocks. It sums the weight of all attestations supporting each entire subtree hanging off those children — every descendant block's votes roll up to the branch it belongs to. The branch with the greatest total attesting stake wins that fork. Then the rule recurses into the winning branch and repeats, fork after fork, until it reaches a block with no children. That leaf is the head.
The name encodes the design. GHOST stands for Greediest Heaviest Observed SubTree — greedy because it takes the heaviest branch at each step, subtree because it weighs whole branches rather than single blocks. LMD stands for Latest Message Driven: only each validator's most recent attestation counts. If a validator voted for one block and later votes for another, only the latest vote has weight. That prevents stale votes from propping up abandoned branches and keeps the head responsive to the network's current opinion.
Why weigh subtrees instead of just picking the longest chain? Because counting the accumulated votes underneath a branch makes it much harder for a minority to manufacture a competing head. An attacker would need to out-vote the honest majority's entire subtree, not just publish a slightly longer sequence of blocks. It also converges quickly under normal conditions: as honest attestations pile onto one branch, that branch's weight dominates within a slot or two, and the fork resolves. The losing block becomes an orphan — valid, but not on the canonical chain, and not building any further.
The two systems interlock here. Fork choice is confined to the region above the latest justified checkpoint. It can reshuffle recent, unfinalized blocks — that's a normal reorg — but it is structurally forbidden from selecting a branch that contradicts a finalized checkpoint. Finality draws the floor; fork choice plays out above it. This is why short reorgs at the tip are routine and expected, while a deep reorg through a finalized block is not supposed to be reachable at all.
The binding constraint is that the fork choice rule governs liveness and head selection — not safety. It decides where the chain grows, and it will sometimes pick a head that later gets superseded when more attestations arrive. That's by design. The rule is allowed to be provisional at the tip; it is the finality gadget, not the fork choice, that provides the irreversibility guarantee. Confusing the two leads people to expect the wrong thing from each.
The subtler constraint is adversarial. A fork choice rule is only as good as its resistance to manipulation, and researchers have found specific attacks against naive versions — balancing attacks, where an adversary feeds different halves of the network conflicting messages to keep two branches at equal weight, and bouncing attacks that stall finalization by flipping the justified checkpoint back and forth. These aren't hypothetical curiosities; they shaped the current design. The live rule includes mitigations, most notably proposer boost, which temporarily grants the current slot's proposer's block extra fork-choice weight so a timely honest block can't be easily overridden by a withheld competing one. The rule you see today is a hardened version of the textbook GHOST, precisely because the textbook version had exploitable seams.
The GHOST-based rule is stable in its core logic, but the mitigation layer around it keeps evolving. Proposer boost was added after the attacks above were formalized, and refinements like view-merge and adjustments to attestation timing are under active research to further close reorg and balancing vectors. The direction is hardening, not replacement.
The larger shift on the horizon is single slot finality. If finality collapses to a single slot, the gap that fork choice governs — the unfinalized region at the tip — shrinks dramatically, because blocks would finalize almost as fast as they're produced. Fork choice wouldn't disappear, but it would operate over a much thinner slice of the chain, and several tip-reorg attacks would lose their window entirely. The rule's job would narrow rather than change in kind.
Now: Fork choice is the right frame for understanding why the tip of the chain occasionally shuffles and why a block you saw can quietly become an orphan. It's normal behavior at the live edge, not a malfunction.
Next: Watch the mitigation refinements. Most fork-choice news is incremental hardening against reorg and balancing attacks, not a new rule.
Later: Single slot finality is the change that would most reshape fork choice's role — by shrinking the region it governs rather than by rewriting it.
This explains how a chain decides which competing block to build on, and how that decision stays subordinate to finality. It is not a statement about how many confirmations you personally should wait for — that depends on value and tolerance, and it lives outside this scope. It says nothing about price, and it isn't a claim that any particular chain's rule is superior.
The mechanism is the point. A fork choice rule is how thousands of independent nodes, each with a slightly different view, converge on one head without anyone in charge — and how they do it while never being allowed to unwind what's already been finalized. Fork choice picks the tip. Finality guards the floor. The chain is what survives both.




