mining software – What is the format of a Bitcoin block body?


To my understanding, the miners solve the nonce to get a valid block header based on the difficulty target. In the header, you have the Merkle root, which is generated from the transactions included in the block. Based on the documentation, the nodes validate the transactions. Does this mean the miner doesn’t need to verify the transactions in the mempool?

I have been searching for examples of what a block submission looks like. I know blocks can be submitted via the RPC. Even though this won’t be practical, however, say I was building a miner. Does anyone know what format is used to submit the block concretely? Are there any known practical implementations understandable by dummies? Looking for code or whatever.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top