January 2019
Beginner to intermediate
372 pages
11h 17m
English
The genesis block, which is the first block in a blockchain, in Bitcoin was created by Satoshi Nakamoto. It is statically coded so that everyone who runs a Bitcoin core node will only believe one blockchain state.
The genesis block hash can be fetched by fetching the block hash of the 0th index:
$ bitcoin-cli getblockhash 0 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
The following are the block details of the Bitcoin genesis block. This block has a coinbase transaction and no other transactions:
$ bitcoin-cli getblock 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f { "hash": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f", "confirmations": 521239, "strippedsize": ...