<p>Those two blocks can never exist in the same chain. Whichever one came in the later block would be invalid because it would attempt to consume an unspent transaction output that did not exist.</p>

<p>If those two blocks claim to be in the same chain, then nobody will ever recognize the later block as valid and it will be as if that block does not exist. If those two blocks are in different chains, eventually one chain will be clearly longer than the other, and that will be the one that makes that transaction forever valid.</p>

<p>It is also possible that some third chain, including neither of those blocks, becomes definitively longer. In that case, a miner is free to include that transaction in a third block, assuming that chain doesn't already contain a conflicting transaction.</p>

CC BY-SA 3.0
2018-03-12T09:41:43.263Z
2018-03-12T09:41:43.263Z
David Schwartz
<p>I understand, that the miner decides which transactions she chooses to include in a block. Often dependent on fees.
So the blocks that are mined in parallel might include different transactions. Say my transacting is in two blocks ... Then one bock is confirmed ... Will it be taken out from the other attempt to mine the block? #transaction</p>

<transactions>
What if my Transaction is in differently assembled blocks
Thomas
# What if my Transaction is in differently assembled blocks

(Asked by: username_0 on 2018-03-12)

I understand, that the miner decides which transactions she chooses to include in a block. Often dependent on fees.
So the blocks that are mined in parallel might include different transactions. Say my transacting is in two blocks ... Then one bock is confirmed ... Will it be taken out from the other attempt to mine the block? #transaction

**Tags:** transactions


---

## 1 answers

### Answer by username_1 on 2018-03-12. Score: 1

Those two blocks can never exist in the same chain. Whichever one came in the later block would be invalid because it would attempt to consume an unspent transaction output that did not exist.

If those two blocks claim to be in the same chain, then nobody will ever recognize the later block as valid and it will be as if that block does not exist. If those two blocks are in different chains, eventually one chain will be clearly longer than the other, and that will be the one that makes that transaction forever valid.

It is also possible that some third chain, including neither of those blocks, becomes definitively longer. In that case, a miner is free to include that transaction in a third block, assuming that chain doesn't already contain a conflicting transaction.


---

