Block 06 5 min read

What Is Double-Spending? The Two-Question Test

You cannot stop a digital coin from being copied; you can only stop it being spent twice. That takes a list of what has already been spent, kept by someone who sees every payment and decides which came first.

Updated October 1, 2026 Watch this block on YouTube →

Take a discount code from your inbox, the kind that says one use only. Copy it and send it to five friends. Every copy is perfect and costs nothing. Then all six of you try it at the checkout, and it works once. The code did not change. A line in the shop’s list did. That is the whole answer to why you cannot copy and paste digital money, and it gives you two questions to put to anything that should only be spendable once.

Copying was never the thing to stop

A coin can only be in one place: when you hand it over, you no longer have it. A file is different. Sending one means copying it, and the original stays with you. So if money is made of data, stopping the copy is hopeless. What you stop is the second use.

That has a name, and cryptographers were already using it by the late 1980s: double-spending. It means promising the same money to two different people, and it only becomes possible when nobody checks in between.

The discount code, step by step

Go back to the checkout. You type the code and press apply. The shop looks the code up in its list, checks that it has not been used, and marks it as used, before the discount appears. When your friend tries a minute later, the lookup finds the mark: already used.

The shop cannot tell your copy from your friend’s, and it does not need to. It has a list and a rule: first one in wins. David Chaum, the cryptographer behind the digital cash company DigiCash, wrote the same step in 1982: “Bank adds note to comprehensive list of cleared notes and stops if note already on list.” Your code is a small digital coin, and the shop is its bank.

A paper from 2008 put the list’s job in one sentence: “The only way to confirm the absence of a transaction is to be aware of all transactions.” Seeing every use is one job. Deciding which use came first is the other.

The two questions

For anything digital that should be spendable once, a code, a ticket, a balance, ask: does the list see every use? And is it checked before anything is handed over?

The discount code passes both: one shop, one list, checked at the checkout. So does your card, most of the time. When you pay, the payment often shows up as pending: the bank has put a hold on the amount, so it comes off what you can spend straight away, before the payment is final. That pending line is the second question being answered, on your screen.

Every well-known failure in this story is one of those two answers turning into a no.

When the list does not see everything

Imagine the same code accepted at two shops, each with its own list. Both find it clean and say yes. Neither sees the other’s list.

That is what happened to checks in the United States. Since a law called Check 21 came into force in 2004, a printed copy made from a check’s image is, when properly prepared, the legal equivalent of the original. A picture can be sent more than once, and federal guidance for banks that take deposits remotely warns about duplicate presentment “at the institution or another depository institution”. Its fix is an old one: mark the item as already processed, the way a conductor punches a paper ticket.

Between 2012 and 2014, according to a 2018 first ruling by a court in Qingdao, a Chinese metals company duplicated the warehouse receipts for the same metal and pledged them at more than one bank: thirteen banks gave it more than 3.6 billion yuan in loans and credit. Each bank saw its own loans and none of the others’. The video for this block tells that story properly.

When nobody looks in time

The second question fails more quietly, sometimes on purpose. On a plane, with no connection, a card terminal can approve a payment below a set threshold, called the floor limit, without asking your bank in real time. The list is checked afterwards: a small gap, accepted so that things can be sold where nobody can ask.

Checks have a gap of their own: a bank normally lets you use only part of a deposited check until it clears, which takes several days. When a machine skips the wait, the gap opens: in late August 2024, videos spread of people pulling cash out of a large American bank’s ATMs right after depositing checks that were no good. The bank says it closed the gap within a few days.

A gap can also be lived in. Between 1980 and 1982, E.F. Hutton, then the fifth-largest brokerage firm in America, drew against money that had not arrived yet, with overdrafts some days above 250 million dollars. In 1985 the firm pleaded guilty to 2,000 counts of fraud, one for each check. More than 400 banks, a prosecutor estimated, lost tens of millions of dollars in interest. Nobody looked in time.

Why not make it impossible to copy

The natural objection: then make digital money impossible to copy. It was tried. Mondex, a card tested in the British town of Swindon from 1995, kept the money on a tamper-resistant chip and moved it from card to card offline, with no central list to check. But you had to trust the chip, and a central issuer, a joint venture of the banks, regulated by the central bank, that created all the value on those cards. The list went away. The trust did not. It moved.

Who keeps the list

For the money in your account, the keeper of the list is your bank. It sees everything that passes through its books and decides the order things happened in. The 2008 paper named the price: the fate of the whole money system depends on whoever runs the list, with every transaction going through them. DigiCash went bankrupt in 1998. e-gold, digital money backed by gold, kept every payment in one ledger held by the company, and in 2008 its companies and its three directors pleaded guilty to criminal charges.

That 2008 paper is the one that introduced Bitcoin, and it turns the old answer around: to do this without a trusted party, transactions must be publicly announced. If no single keeper can be trusted to see everything, everyone sees it. How that can work is what the next blocks are for.

In short

  • Copying digital money cannot be stopped, because sending a file means copying it: what gets stopped is the second use.
  • Double-spending is promising the same money to two different people, and it only becomes possible when nobody checks in between.
  • A one-use discount code works once for the same reason digital money does: the shop keeps a list and marks each code as used.
  • Every list against double-spending has two jobs: see every use, and decide which one came first before anything is handed over.
  • Taking away the central list does not take away trust. It moves it somewhere else: onto a chip, an issuer, a company.

Frequently asked questions

Why can't you just copy and paste digital money?

You can copy the data, and nobody has ever managed to stop that. What stops it working is a list. Whoever keeps the money records every unit that has been spent, and refuses any unit already on the list. The copy exists, but the second time it is presented it is turned away, the same way a discount code says it has already been used.

What is double-spending in simple terms?

Double-spending is promising the same money to two different people. With a coin it cannot happen, because once you hand it over you no longer have it. With anything digital it becomes possible, because sending data means copying it. It only works when nobody checks in between, which is why every system for digital money is built around a check.

Why does my card payment say pending?

Because your bank has put a hold on that amount. When you pay by card, the payment often appears as pending before it is final: the amount comes off what you can spend straight away, while the payment goes through. It is the bank checking its list and marking the money as taken before anything else can claim it.

Can a card payment go through without an internet connection?

Yes, sometimes. Below a set threshold, called the floor limit, a card terminal can approve a payment offline, without asking your bank in real time. It is used where there is no connection, such as on a plane. The bank's list is still checked, only later. It is a small gap accepted on purpose so that things can be sold anywhere.

Can the same check be deposited twice?

It is a known risk, and banks treat it as one. In the United States a printed copy made from a check's image can count as the check, and federal guidance for banks warns that the same check or image can be presented more than once, at the same bank or at another one. The fix it suggests is marking each item as already processed.

Can someone just copy the money in my bank account?

No. Your balance is not a file on your phone that could be duplicated: it is a line in a ledger your bank keeps. A screenshot of it, or a copy of the app's data, creates nothing, because the bank checks its own list before any payment goes out. Where double-spending has happened, it came from gaps in who looked and when, not from copies.

Sources

  1. David Chaum — Blind Signatures for Untraceable Payments (1982)
  2. Bitcoin: A Peer-to-Peer Electronic Cash System (2008)
  3. FDIC / FFIEC — Risk Management of Remote Deposit Capture (2009)
  4. UPI — E.F. Hutton pleads guilty to 2,000 federal felony charges (1985)
  5. US Department of Justice — e-gold guilty pleas (2008)