-
Hash(Puzzle) - Fingerprint ,
-
Nonce(Key) is arbitary not random, added as a field to each block, to make the hash of the block start with a certain number of zeros. The number of zeros is the difficulty of the blockchain. The more zeros, the more difficult it is to mine a block. The more difficult it is to mine a block, the more secure the blockchain is.
-
Process of finding key is called mining.
- Gen new NONCE
- Hash the block with the new NONCE
==> check_hash_difficulty ? (step 3) : (step 1)
- If the hash is valid, add the block to the blockchain