-
Notifications
You must be signed in to change notification settings - Fork 4
Mining genesis block
Akash edited this page Nov 6, 2018
·
1 revision
Mining a genesis block happens when the person decides to start a blockchain. Let's call that person a blockchain creator. The blockchain creator will proceed as follows in order to mine Block 0 of the blockchain -
- Get a message signifying today's date and derogatory remarks about the bank/centralized banking systems/government/capitalists/corporate/conglomerate/donald trump
- Create a genesis transaction for the genesis block by including hash of that message in the
coinbase
field of the transaction input - The output of the genesis transaction is the initial amount that is awarded to the first miner. e.g. 50 bitcoins. That value will be your
COIN
constant - Set the lowest difficulty target by the definition of difficulty
- Select a nonce
- Solve until that difficulty target is reached which should be feasible
- Output the block and put that block as a constant in every client application. Let's call that constant
GENESIS_BLOCK
orBLOCK0