Double-Spend
An attack where someone attempts to spend the same cryptocurrency twice.
Last Updated
2026-03-19
Related Concepts
What is Double-Spend?
Double-spending is a potential flaw in a digital cash system where the same single digital token can be spent more than once. Unlike physical cash, digital information can be reproduced easily, making it necessary for a network to prevent duplicate transactions.
How does Double-Spend work?
- A user initiates a transaction to pay for a good or service.
- Simultaneously, they send a second transaction using the same funds to another address they control.
- Both transactions are broadcast to the network.
- The blockchain's consensus mechanism (e.g., Proof of Work) ensures that only one of these transactions is confirmed in a block.
- The unconfirmed transaction is rejected as invalid by the rest of the network nodes.
Why does Double-Spend matter?
Preventing double-spending is the core problem that Bitcoin and other blockchains solved without needing a central authority. It ensures the scarcity and integrity of digital currency, making it a reliable medium of exchange.
Key features of Double-Spend
- Attempted duplicate use of digital assets
- Prevented by decentralized consensus
- Requires
51%attack to successfully reverse confirmed transactions - Solved by time-stamping and shared ledgers
- Fundamental to cryptocurrency security
Examples of Double-Spend
A "race attack" occurs when a merchant accepts a payment before it has any confirmations. The attacker quickly sends a second transaction with a higher fee to their own wallet, hoping the network picks theirs first, effectively "stealing" the product.
