Blockchain and Mining visually answers
-
It is important for blocks to be cryptographically linked to secure the network and its integrity, avoid double spend of utoxs and alteration of previous and present blocks on the network. The new block has reference link to the prior block which forms a chain . Any changes to the blocks will break the chain.
-
The block structure of bitcoin comprises of the following :
- a service ring which is encoded with block header data structure which includes a version field, hash of the previous block, root hash of the Mercle tree of all transactions in the block, current time and the bitcoin difficulty.
- a nonce which is stored in the extraNonce field which is part of the coinbase transaction (a special first block transaction)
- a counter which parameter is small at 32-bits. Each time it wraps, the extraNonce must be incremented (or otherwise changed) to avoid repeating the work.