Bitcoin Forum
October 03, 2025, 02:40:32 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: Testnet4 - BIP Rule Ignore on: December 05, 2024, 11:41:58 PM
Thanks for your answers.

Is the reason for this behavior that the Bitcoin script specifications are specifically optimized for small numbers?

And the bitcoin script generally uses special opcodes (OP_1 to OP_16, corresponding to 0x51 to 0x60) for numbers 1 to 16 as part of the minimal encoding rules?

Or is there an additional justification or other reason for this behavior?

Best regards
2  Bitcoin / Development & Technical Discussion / Testnet4 - BIP Rule Ignore on: December 05, 2024, 03:12:33 AM
Hello,

I am currently working with Testnet4.

The following is set in chainparams.cpp:

Line 315
consensus.BIP34Height = 1;

If I now look at the value in the coinbase data field of block 1, it is not compliant with the BIP34 rules.
Only from block 17 onwards, the value in the Coinbase data field is set correctly according to the BIP34 rules.

Why is this the case?

Best regards
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!