In short

Under Nakamoto consensus, nodes follow the valid chain with the most accumulated proof of work. To rewrite history an attacker would have to redo that work faster than the rest of the network, which gets harder with every block.

01Nakamoto consensus and its limitsMost cumulative work, not longest chain. What a 51% attacker can and can't do.8 min

Nodes follow the valid chain with the most cumulative proof of work, not the one with the most blocks. Validity is checked first; work only breaks ties between valid histories.

  • A majority-hashrate attacker can reorder or censor recent transactions and double-spend their own coins.
  • They cannot create coins beyond the schedule, spend coins without the keys, or change rules that nodes enforce. Invalid blocks are rejected however much work they carry.
  • The chance an attacker with less than half the hashrate catches up from z blocks behind falls exponentially with z (section 11 of the white paper).
  • Known strategies and attacks to study: selfish mining (Eyal & Sirer, 2013), fee sniping, and eclipse attacks at the network layer.

Learn Bitcoin with real people.

Find meetups and Bitcoiners in your city, and ask the questions you'd never post online. Free to download on iPhone and Android.