online resources

As required in BIP 34, how miners put the Block Height to their coinbase transaction

I created a coinbase transaction with the createrawtransaction method as follow: createrawtransaction '[{"txid":"0000000000000000000000000000000000000000000000000000000000000000","vout":0}]{"kgjdtruea5w3mz7t3tudtlplm9xht4sjwg0e3tihgtr":6.25000000}' the response to this call is: 020000000100000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0140be40250000000017a9145ea405d95b789aa887e229d8b1da44c2964054248700000000 I understand that the number of pushed bytes and the Height of the block must be included to the scriptsig of this raw data as follow: Actually 03 + The height of the block in little endian In this exemple must i put this just between the ffffffff and 0140be40250000? I saw some exemples but i am confused, as there's the size of the scriptsig before the scryptsig Help is appreciated Thank you to all of you

Continue Reading As required in BIP 34, how miners put the Block Height to their coinbase transaction

End of content

No more pages to load