6. Blocks in a chain
Last updated
Last updated
Blockchain and Blocks
A blockchain consists of a series of blocks. The blocks are linked together using cryptography, forming a secure and tamper-proof chain of records.
Each block in a blockchain contains a set of transactions or data and a reference to the previous block.
The world state represents the current status of the entire system, such as account balances and other information. The state is updated whenever a new block is added to the chain and the transactions within the block are processed. The state is stored in a data structure called a state trie, which is a type of Merkle tree.
Blocks contain a set of transactions or data.
When a new block is added to the chain, the transactions within the block are processed, which may result in changes to the state of the system.
Source