Honest chain block Attacker's secret block Confirmation threshold Orphaned (discarded)

51% Attack & Double-Spend Race (2D)

Blockchain security ultimately rests on a probability race, not a guarantee. This 2D companion plays out the same Nakamoto double-spend race as the 3D version as two flat racing lanes: an honest network mining a public chain against an attacker secretly mining a rival fork with a chosen share of total hashrate. A live strip chart tracks how the empirical success rate converges toward the closed-form theoretical curve as more races accumulate, and a full risk-curve panel shows P(success) across the whole range of possible attacker hashrate shares at once.