Honest chain block
Attacker's secret block
Confirmation threshold
Orphaned (discarded)
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.
Blockchain security ultimately rests on a probability race, not a guarantee. This simulation plays out Bitcoin's original double-spend scenario: an honest network mining a public chain against an attacker secretly mining a rival fork with a chosen share of total hashrate. Every block is a weighted coin flip; watch how raising the attacker's hashrate share or lowering the number of confirmations a merchant demands changes how often the attacker's fork catches up and overtakes the honest chain, forcing a chain reorganization that reverses an already-accepted payment.