Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: Bitcoin Mining Technical Details. Help
by
j2002ba2
on 17/10/2023, 13:47:18 UTC
⭐ Merited by Cricktor (1)
Code:
txs: 0300

If what I'm reading here in little-endian (3 transactions) is correct, note that according to the protocol documentation, the field for the number of transactions in the block header is always supposed to be zero. https://en.bitcoin.it/wiki/Protocol_documentation#Block_Headers

What you are reading here is the mistake. And the real link should be this one:
https://en.bitcoin.it/wiki/Protocol_documentation#block

You could see how it is in the very genesis block as well:
https://en.bitcoin.it/wiki/Genesis_block#Raw_block_data

Even in your link var_int (CompactSize) is used. It cannot be 2 bytes long.