double spend
An attack in which the same bitcoin is spent twice; Bitcoin prevents this through its confirmation and mining mechanism, which makes rewriting transaction history prohibitively expensive.
Before Bitcoin, digital cash systems faced a fundamental problem: a digital file representing value can be copied and sent to two different recipients simultaneously. This is the double-spend problem. Traditional solutions required a trusted central authority, such as a bank, to maintain a single authoritative ledger and reject duplicate payments.
Bitcoin solves this without any central authority. When a transaction is broadcast, nodes hold it in a waiting area called the mempool until a miner includes it in a block. Once the block is mined and added to the blockchain, the transaction receives its first confirmation. With each subsequent block, reversing that transaction would require redoing all the proof-of-work from that point forward while outpacing the rest of the network. This makes a successful double-spend attack economically impractical beyond a very small number of confirmations.
The prevention of double-spending was the core innovation that made Bitcoin possible. Every node independently verifies each transaction against the entire history of the blockchain, and the mining process makes fraud expensive rather than just forbidden. This combination replaced the need for institutional trust with mathematical certainty.
Frequently asked questions
Has Bitcoin ever been successfully double-spent?
There have been no confirmed double-spend attacks on the main Bitcoin network. Some exchanges and services have been defrauded through other means, such as accepting unconfirmed transactions. The cost of executing a 51% attack on Bitcoin's network, which would be required for a reliable double-spend, has consistently been too high for any known attacker.
How many confirmations are needed to be safe from a double-spend?
It depends on the value at stake and the policies of the recipient. One confirmation is considered adequate for small everyday transactions. Six confirmations, roughly one hour, is a widely cited standard for larger amounts. High-value exchanges and custodians may wait for more. The risk diminishes exponentially with each additional confirmation.
What is a 51% attack and how does it relate to double-spending?
A 51% attack is when a single entity controls more than half of the total mining hashrate. With that majority, they could theoretically mine a secret alternative chain and then release it to invalidate previously confirmed transactions, allowing coins to be spent again. The enormous cost of acquiring and running enough hardware to achieve 51% of Bitcoin's hashrate makes this economically irrational for the main network.