The Block-and-Chain Structure

Transactions are grouped into blocks. Each block contains:
- A set of validated transactions
- A timestamp
- A cryptographic hash of the previous block
The hash of the previous block is the crucial element. A cryptographic hash is a fixed-length string generated from input data by a one-way function — changing any part of the input completely changes the hash. By including the previous block's hash, each new block mathematically chains to all prior history. Altering any historical transaction would change its block's hash, which would change all subsequent block hashes — making tampering immediately detectable.