Skip to main content
Knowledge mapHow does Bitcoin prevent an output being spent twice?External projects

You are here. See how this question connects to other ideas.

Select a node to open its page · Expand to read within the map

Knowledge mapFollow a connection. Understand a question.
← Blockchain and shared state

One question

How does Bitcoin prevent an output being spent twice?

Understand UTXOs, independent validation and accumulated work.

  1. Unspent outputsConsumes
  2. TransactionCreates
  3. New outputs
Relationship sketch · arrows show responsibilities and connections, not a complete protocol sequence.

Bitcoin transactions consume unspent outputs and create new ones. Each output can be spent only once in the valid chain. Full nodes validate the rules independently; accumulated work helps select among valid branches.

As a teaching analogy, exchanging old tickets for new ones differs from editing an account balance. The analogy illustrates linked outputs, not a claim that an output represents a physical ticket.

From broadcast to confirmations

A wallet broadcasts a signed transaction, but other nodes may first hold it among pending transactions. Inclusion in an accepted block gives it a first confirmation; later blocks extending that history add confirmations.

Nodes follow the valid history with the most accumulated proof of work. If the accepted branch changes, a transaction’s block can leave that history: this is a reorganization. More confirmations increase the work needed to replace the relevant history; they are not an unconditional guarantee. A receiver therefore defines when to accept a payment and how to handle a changed result.

Sources and further reading

Go deeper

Bitcoin and ArcBlock

Bitcoin represents value as spendable outputs governed by spending conditions. ArcBlock Chain documents account records and typed asset operations. Compare how each authorizes an asset transfer before comparing application tools. See the chain-design comparison and ArcBlock transactions. This comparison does not imply a Bitcoin–ArcBlock bridge is available.

Referenced here

Terms

  • Bitcoin

    The first widely used chain, and the one that showed an append-only ledger could be kept by parties who do not know each other. Its design choices, proof of work among them, are the baseline most later chains define themselves against.