<p>Say we have txA and txB, and txB contains an input that redeems an output from txA.</p>

<p>In order for a block containing both txA and txB to be valid, is it necessary that txB be after txA in the list of transactions for that block?</p>

CC BY-SA 3.0
2015-08-25T20:39:28.463Z
Related: http://bitcoin.stackexchange.com/questions/35719/is-there-a-fixed-order-for-all-transactions-in-the-block-chain/35726#35726
morsecoder
CC BY-SA 3.0
2015-08-28T12:17:02.157Z
While I agree that the question is the same, the answer to the other question is simply a long-winded "yes", without any references or sources. How can I mark an answer as correct if I can't judge whether it's correct or not?
runeks
<transactions><protocol><block>
Transaction ordering when one transaction redeems another within a block
runeks
# Transaction ordering when one transaction redeems another within a block

(Asked by: username_0 on 2015-08-25)

Say we have txA and txB, and txB contains an input that redeems an output from txA.

In order for a block containing both txA and txB to be valid, is it necessary that txB be after txA in the list of transactions for that block?

**Tags:** transactions, protocol, block

> **Comments:**
> **username_1**: Related: http://bitcoin.stackexchange.com/questions/35719/is-there-a-fixed-order-for-all-transactions-in-the-block-chain/35726#35726  
> **username_0**: While I agree that the question is the same, the answer to the other question is simply a long-winded "yes", without any references or sources. How can I mark an answer as correct if I can't judge whether it's correct or not?  

---

## 0 answers

