Bitcoin Forum

Other => Beginners & Help => Topic started by: eschaefer on February 03, 2012, 07:32:09 PM



Title: Transaction fees when simultaneous nonces found
Post by: eschaefer on February 03, 2012, 07:32:09 PM
If two nodes (more-or-less) simultaneously create nonce’s for the same block, then who gets the transaction fees and when?

For example, I can imagine that a transaction fee would not be paid until the original transaction is six-deep in a block chain.

Thanks
 


Title: Re: Transaction fees when simultaneous nonces found
Post by: DeathAndTaxes on February 03, 2012, 07:33:44 PM
Transaction fees are always included in a block.  The entire block reward = subsidies + transaction fees are paid to the node who's block is ultimately accepted by the entire network.

When two nodes publish the same block it creates a split in the network.  That split will be resolved by which block is solved next.  The resolution is called a re-org.  One block becomes part of the continually chain, the other is oprhaned to die a worthless death.

The network is actually more careful.  Any revenue from a block is "locked" for 120 blocks not 6 blocks to avoid a situation where generation coins could be double spent due to a re-org.