Blockchain is a public ledger of a timestamped, ordered, and immutable list of all transactions on the Bitcoin network. Each block is identified by a hash in the chain and is linked to its previous block by referencing the previous block's hash.
In the following table structure of a block is presented, followed by a detailed diagram that provides a detailed view of the blockchain structure.
The following table shows the structure of a block:
Field | Size | Description |
Block size | 4 bytes | This is the size of the block. |
Block header | 80 bytes | This includes fields from the block header described in the next section. |
Transaction counter | Variable | This field contains the total number of transactions in the block, including the coinbase transaction. Size ranges from 1-9 bytes |
Transactions | Variable | All transactions in the block. |