Bitcoin Forum
November 03, 2024, 06:08:52 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Quick question regarding Generation Transaction  (Read 100 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
DannyHamilton (OP)
Legendary
*
Offline Offline

Activity: 3472
Merit: 4801



View Profile
December 28, 2021, 04:35:52 PM
Merited by ABCbits (1)
 #1

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?
 
PrimeNumber7
Copper Member
Legendary
*
Offline Offline

Activity: 1652
Merit: 1901

Amazon Prime Member #7


View Profile
December 28, 2021, 04:55:31 PM
Merited by DannyHamilton (10), ABCbits (3)
 #2

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).
DannyHamilton (OP)
Legendary
*
Offline Offline

Activity: 3472
Merit: 4801



View Profile
December 28, 2021, 05: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!!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!