Skip to main content
Clarify the point, remove mention of the time stamp which seems unnecessary
Source Link
Murch
  • 77.9k
  • 35
  • 190
  • 641

All transactions in one block are considered to happen at the same time, butThe Bitcoin protocol requires transactions can only be added to the transaction set, onceappear in topological order in the miner determines that they are validblockchain. Thus, both transactionGiven two transactions A and B can be included in the same block, but they will always stand in the chronological order.where B spends an output of A:

  • Both A and B may be included in the same block.
  • A must precede B in the transaction list.

B can not be validatedColloquially, a miner will never include a transaction in a block beforetemplate until the transaction's requirements are met. Since B spends an output of A was validated, as B uses unspent outputs that are only created byis not valid until A has created said output. To satisfy this dependency, thus the outputs would not be there toB can only be spent beforeincluded after A is validatedwas included.

Also see: Can multiple transactions transferring the same bitcoin be done in one block?

All transactions in one block are considered to happen at the same time, but transactions can only be added to the transaction set, once the miner determines that they are valid. Thus, both transaction A and B can be included in the same block, but they will always stand in the chronological order.

B can not be validated in a block before A was validated, as B uses unspent outputs that are only created by A, thus the outputs would not be there to be spent before A is validated.

Also see: Can multiple transactions transferring the same bitcoin be done in one block?

The Bitcoin protocol requires transactions to appear in topological order in the blockchain. Given two transactions A and B where B spends an output of A:

  • Both A and B may be included in the same block.
  • A must precede B in the transaction list.

Colloquially, a miner will never include a transaction in a block template until the transaction's requirements are met. Since B spends an output of A, B is not valid until A has created said output. To satisfy this dependency, B can only be included after A was included.

Also see: Can multiple transactions transferring the same bitcoin be done in one block?

replaced http://bitcoin.stackexchange.com/ with https://bitcoin.stackexchange.com/
Source Link

All transactions in one block are considered to happen at the same time, but transactions can only be added to the transaction set, once the miner determines that they are valid. Thus, both transaction A and B can be included in the same block, but they will always stand in the chronological order.

B can not be validated in a block before A was validated, as B uses unspent outputs that are only created by A, thus the outputs would not be there to be spent before A is validated.

Also see: Can multiple transactions transferring the same bitcoin be done in one block?Can multiple transactions transferring the same bitcoin be done in one block?

All transactions in one block are considered to happen at the same time, but transactions can only be added to the transaction set, once the miner determines that they are valid. Thus, both transaction A and B can be included in the same block, but they will always stand in the chronological order.

B can not be validated in a block before A was validated, as B uses unspent outputs that are only created by A, thus the outputs would not be there to be spent before A is validated.

Also see: Can multiple transactions transferring the same bitcoin be done in one block?

All transactions in one block are considered to happen at the same time, but transactions can only be added to the transaction set, once the miner determines that they are valid. Thus, both transaction A and B can be included in the same block, but they will always stand in the chronological order.

B can not be validated in a block before A was validated, as B uses unspent outputs that are only created by A, thus the outputs would not be there to be spent before A is validated.

Also see: Can multiple transactions transferring the same bitcoin be done in one block?

Source Link
Murch
  • 77.9k
  • 35
  • 190
  • 641

All transactions in one block are considered to happen at the same time, but transactions can only be added to the transaction set, once the miner determines that they are valid. Thus, both transaction A and B can be included in the same block, but they will always stand in the chronological order.

B can not be validated in a block before A was validated, as B uses unspent outputs that are only created by A, thus the outputs would not be there to be spent before A is validated.

Also see: Can multiple transactions transferring the same bitcoin be done in one block?