What Is “Double-Spending” in the Context of a 51% Attack?

Double-spending is the act of successfully spending the same cryptocurrency twice. In a 51% attack, the attacker first makes a legitimate transaction to a merchant or exchange.

Then, using their majority hash power, they mine an alternative, secret version of the blockchain that does not include the original transaction. Once the secret chain is longer, they broadcast it, forcing the network to adopt it, effectively reversing the original transaction and allowing the attacker to spend the coins again.

What Is a 51% Attack and How Does It Specifically Enable Double-Spending?
How Does the 51% Attack Relate to the Ability to Execute a Blockchain Re-Org?
What Is the Economic Incentive for a Miner to Attempt a 51% Attack?
What Is a ‘Race Attack’ and How Does It Differ from a 51% Double-Spend?
How Does Increasing Confirmation Requirements Mitigate Risk?
What Is Double-Spending and Why Is a 51% Attack Necessary to Execute It?
What Is ‘Transaction Finality’ and How Does Double-Spending Affect It?
How Does a Transaction’s Confirmation Status Relate to Double-Spending Risk?