Author

Topic: How do transactions in orphaned blocks get back into the pool? (Read 3219 times)

newbie
Activity: 41
Merit: 0
lol, you're right. Thanks for your explanation, makes a lot of sense!
donator
Activity: 1218
Merit: 1079
Gerald Davis
It is Christmas eve dude ...

still if it can't wait.   When nodes learn of a new block that orphans an existing block they add any tx from the orphaned block back to the memory pool when orphaning it.  Likewise nodes remove txs from the memory pool when they receive a block which extends the longest chain.   It is possible the tx is in both blocks and thus is added and removed from the memory pool as part of the reorg.

Orphaned tx can't be "lost" unless there is a double spend.
newbie
Activity: 41
Merit: 0
newbie
Activity: 41
Merit: 0
What happens if two miners solve a block at about the same time, with different transactions in them, and one of the blocks gets rejected - aka becomes orphaned? How do transactions in the orphaned block get back into the pool of transactions to be mined and confirmed again?
Jump to: