<p>Transaction inputs use Unspent Transaction Outputs (UTXO).<br>
UTXO are created by transactions. They are uniquely identified by the transaction id and the output position in the transaction that created them.<br>
Once UTXO are used as inputs in another transaction, and that transaction is included in a block, nodes that parse the block will mark them as spent.</p>

<p>So any node evaluating the replay attack will realize that the UTXO are no longer in their UTXO set and therefore the funding for the transaction is invalid.</p>

CC BY-SA 3.0
2016-07-30T20:34:51.590Z
The one exception is coinbase transactions, which don't need to use any UTXOs. But if a miner includes a coinbase transaction that is identical to a previous one, he is only hurting himself.
David Schwartz
CC BY-SA 3.0
2016-07-30T10:17:17.153Z
2016-08-03T09:53:04.650Z
2016-08-03T09:53:04.650Z
Murch
<p>What if a miner takes a transaction which is already on the chain and adds it to a new block to earn the fee once more? </p>

<p>Which mechanism prohibits replay attacks of this type?</p>

<transactions><protocol><utxo>
Why is it not possible to replay transactions?
alex
# Why is it not possible to replay transactions?

(Asked by: username_0 on 2016-07-30)

What if a miner takes a transaction which is already on the chain and adds it to a new block to earn the fee once more?

Which mechanism prohibits replay attacks of this type?

**Tags:** transactions, protocol, utxo


---

## 1 answers

### Answer by username_1 on 2016-07-30. Score: 8 | Accepted answer

Transaction inputs use Unspent Transaction Outputs (UTXO).  
UTXO are created by transactions. They are uniquely identified by the transaction id and the output position in the transaction that created them.  
Once UTXO are used as inputs in another transaction, and that transaction is included in a block, nodes that parse the block will mark them as spent.

So any node evaluating the replay attack will realize that the UTXO are no longer in their UTXO set and therefore the funding for the transaction is invalid.

> **Comments:**
> **username_2**: The one exception is coinbase transactions, which don't need to use any UTXOs. But if a miner includes a coinbase transaction that is identical to a previous one, he is only hurting himself.  

---

