<p>Every single Bitcoin node in the network will reject and ignore the block as invalid if there is a double spend in it. The block won't even spread very far, because the peers that first receive it will ban the miner who sent it and not forward on the block to any other nodes.</p>

<p>It is not a big disruption as the check for this is fast. Other mining pools don't need to "remine" it , they'll just recognize the submitted block as invalid, and keep working on their own block.</p>

CC BY-SA 3.0
2015-08-03T11:06:49.503Z
Perhaps this question was about sending TX to a merchant who accepts payment with 0 conf, creating another TX after receiving the goods which spends the same inputs and then confirming the second TX. In this case the block would still be valid. And there is no network level rule that can prevent this. As discussed here: http://bitcoin.stackexchange.com/questions/3315/double-spend-attack-by-sending-higher-fee-transaction-directly-to-the-pools-poss
Emre K.
CC BY-SA 3.0
2015-01-07T22:15:44.497Z
2015-01-07T23:55:35.080Z
2015-01-07T23:55:35.080Z
k kurokawa
<p>Suppose an attacker makes a double-spend and controls the mining pool that happens to find the good which confirms the transactions.  What happens?  I suppose the network hopes that a vigilante sees the double spend on the block chain and notifies everyone. Then what happens?  Do the mining pools coordinate and remine the block?  Seems like a big disruption.  Is there a more elegant solution?</p>

CC BY-SA 3.0
2015-01-07T23:09:28.897Z
Do you mean that he tries to spend coins that were spent already, or do you mean that he prioritizes a second order to spend his coins benefiting himself over another transaction posted earlier?
Murch
CC BY-SA 3.0
2015-01-09T03:47:58.043Z
@Murch I really meant double spend in a contemporaneous sense.  Like spending once and then spending again 1 second later.
Nick
<mining-theory><doublespend>
What happens if a miner confirms their own double spend?
Nick
# What happens if a miner confirms their own double spend?

(Asked by: username_0 on 2015-01-07)

Suppose an attacker makes a double-spend and controls the mining pool that happens to find the good which confirms the transactions. What happens? I suppose the network hopes that a vigilante sees the double spend on the block chain and notifies everyone. Then what happens? Do the mining pools coordinate and remine the block? Seems like a big disruption. Is there a more elegant solution?

**Tags:** mining-theory, doublespend

> **Comments:**
> **username_1**: Do you mean that he tries to spend coins that were spent already, or do you mean that he prioritizes a second order to spend his coins benefiting himself over another transaction posted earlier?  
> **username_0**: @username_1 I really meant double spend in a contemporaneous sense.  Like spending once and then spending again 1 second later.  

---

## 1 answers

### Answer by username_2 on 2015-01-07. Score: 5 | Accepted answer

Every single Bitcoin node in the network will reject and ignore the block as invalid if there is a double spend in it. The block won't even spread very far, because the peers that first receive it will ban the miner who sent it and not forward on the block to any other nodes.

It is not a big disruption as the check for this is fast. Other mining pools don't need to "remine" it , they'll just recognize the submitted block as invalid, and keep working on their own block.

> **Comments:**
> **username_3**: Perhaps this question was about sending TX to a merchant who accepts payment with 0 conf, creating another TX after receiving the goods which spends the same inputs and then confirming the second TX. In this case the block would still be valid. And there is no network level rule that can prevent this. As discussed here: http://bitcoin.stackexchange.com/questions/3315/double-spend-attack-by-sending-higher-fee-transaction-directly-to-the-pools-poss  

---

