Author

Topic: Quick question regarding Generation Transaction (Read 105 times)

legendary
Activity: 3472
Merit: 4801
December 28, 2021, 12:02:27 PM
#3
According to Peter Wuille, as of when BIP 34 was implemented, coinbase transactions must have the block height encoded in the previous script (along with potentially additional arbitrary data, although the additional arbitrary data is not required).

Block height! That's it.  Thanks.  Slipped my mind, and I just couldn't seem to remember it.  Thanks!!
copper member
Activity: 1652
Merit: 1901
Amazon Prime Member #7
According to Peter Wuille, as of when BIP 34 was implemented, coinbase transactions must have the block height encoded in the previous script (along with potentially additional arbitrary data, although the additional arbitrary data is not required).
legendary
Activity: 3472
Merit: 4801
I'm pretty sure I recall there being a requirement added for a miner (or solo or pool) to put something specific in the input portion of the generation transaction to prevent an issue that came up where two different generation transactions in two different block heights both used the same output script and therefore had identical transaction hashes.  Unfortunately, I can't seem to remember exactly what it is that is supposed to be added to make the transaction unique, and a quick search on Google isn't turning it up.

Am I remembering incorrectly?  Or can someone tell me what it is that's supposed to be added?
 
Jump to: