What Is the Significance of the “Longest Chain Rule” in Executing a Double-Spend Attack?

The "longest chain rule," or Nakamoto Consensus, dictates that nodes in a Proof-of-Work network must always consider the chain with the most cumulative work (the longest chain) as the valid one. An attacker leverages this rule by secretly mining a chain that includes a conflicting transaction (the reversal of the initial spend).

Once their secret chain surpasses the length of the public chain, they release it. Honest nodes automatically switch to the attacker's longer chain, effectively nullifying the original, spent transaction and completing the double-spend.

Can an External Event Override the Execution of a Smart Contract?
How Do ‘Reorgs’ (Reorganizations) in a Blockchain Relate to the Success of a 51% Attack?
What Is the Relationship between the Block Reward and the Security Provided by the Longest Chain Rule?
What Is the “Longest Chain Rule” and How Does It Prevent Confirmed Double-Spending?
How Does a Successful 51% Attack Lead to ‘Double-Spending’?
How Does Transaction Confirmation Time Mitigate Double-Spend Risk?
Can a Finney Attack Be Used to Double-Spend in a Proof of Work System?
What Is the ‘Longest Chain Rule’ and Why Is It Fundamental to Nakamoto Consensus?

Glossar