blockchain – How has the very first bitcoin block been actually created given that there was absolutely no prior transaction whatsoever taking place?

0
8


How has the very first bitcoin block been actually created given that there was absolutely no prior transaction whatsoever taking place?

Two reasons:

  • Blocks do not require transactions to be mined (only the coinbase transaction is required, which is constructed by the miner themself). This is true for every block (not just genesis), and occasionally also still happens.
  • The genesis block is hardcoded, so its contents is entirely irrelevant. It is valid for no other reason than it being defined to be the genesis block. It doesn’t require being valid according to ordinary block rules.

Modern versions of Bitcoin number it as block 0, though very early versions counted it as block 1.

To the best of my knowledge, every release of the Bitcoin reference software has used height=0 for the genesis block.



Source link

Leave a reply