Bitcoin fee-sniping reorg EV chart
This page models a rational miner considering a private fork to reorganize the last block and claim an unusually large fee.
The chart scans hashrate q and plots the number of additional net public-chain blocks the miner would tolerate
before the continuation value becomes non-positive.
Continuation threshold by miner hashrate
Results
| q | p = 1 − q | c used | Attack? | Start EV | Best start give-up lead G* | P(win) at G* | E[events] at G* | Give up when public lead reaches | Chart y: additional net public blocks tolerated |
|---|
Formula notes
The model uses the conservative one-block-ahead success condition: the private fork succeeds when its lead reaches
d = -1. It gives up at a public lead boundary G. For each current public lead
d, the page scans all G > d and keeps the best positive expected value.
M(d,G) is the expected number of additional private blocks mined on paths that end in success,
weighted by success probability. It is solved in JavaScript from the recurrence:
The plotted y-value is:
So with d₀ = 1, a y-value of 1 means: "try the reorg, but give up if the public chain
gets to a 2-block lead." If a point hits the configured max public lead, increase the scan bound to see whether
the positive-EV region extends farther.