What the chain records

What the blockchain stores, why it is intentionally limited and how nodes agree on its history.

See how blocks, validation, proof of work, and reorganizations fit together.

Part 01

A linked history

Every block commits to the prior block's hash, making edits visible and requiring subsequent proof of work to be redone. The chain is a transaction-ordering mechanism, not a general-purpose database for every kind of data. <strong>Validation before acceptance.</strong> Nodes do not trust a block because a miner produced it. They verify proof of work and every consensus rule.

An invalid block is rejected even if creating it consumed substantial energy. <strong>Why block space is scarce.</strong> Bounded capacity helps ordinary operators validate the chain and limits resource growth. When demand exceeds space, users compete through fees and can move suitable activity to higher layers.

What this establishesHashes make historical tampering evident.

Part 02

What changing an old block would require

Imagine altering one transaction in a block that already has six blocks built above it. The edited transaction would change the block's Merkle root, which would change its header hash. The next block would no longer point to the same previous hash.

Every later header would therefore need to be rebuilt with new proof of work while the honest network continued adding blocks to the accepted chain. This is why a blockchain is not made immutable by a database permission. Its history becomes progressively more expensive to replace.

Nodes still check that every replacement block is valid, so accumulated work cannot make an invalid subsidy or signature acceptable. The practical security of a payment depends on confirmation depth, current competing work, and the value at risk, not on the vague statement that blockchains cannot be changed.

What this establishesNodes verify miners, not the other way around.

Part 03

Anatomy of a block

Every block begins with an 80-byte header: a version, the hash of the previous block's header, a Merkle root committing to every transaction inside, a timestamp, the encoded difficulty target and a nonce. The header is what miners hash. Behind it sit the transactions, the first of which is the coinbase transaction that creates the subsidy and collects the fees.

Because the Merkle root binds the transactions to the header and the previous-hash field binds each header to the one before, a single 32-byte value at the tip commits to the entire history back to January 2009.

What this establishesLimited block space supports verifiability and creates a fee market.

Part 04

Immutability is a cost, not a lock

Nothing physically prevents someone from producing an alternative block. What prevents it from mattering is that nodes follow the valid chain with the most accumulated proof of work, and producing a competing chain means redoing the work for every block you want to replace, faster than the honest network extends the real one.

At the current hashrate that is infeasible for anything more than a block or two. This is why 'immutable' really means 'economically irreversible' and why the depth of a transaction, measured in confirmations, is the right way to think about its finality.

Part 05

Forks, reorganisations and what nodes do about them

Occasionally two miners find a block at nearly the same moment and the network briefly sees two tips. Nodes keep both, extend whichever they saw first, and switch to whichever chain grows longer - a reorganisation of one block, which happens a few times a year and is why a single confirmation is not treated as final.

A hard fork is different: a rule change that old nodes reject. Bitcoin Cash in 2017 was one. The chain that keeps the name is simply the one most nodes, miners, exchanges and users continue to follow, which is a social fact enforced by software rather than the other way round.

Put it to use

Check the chain claim

When someone calls data immutable, ask how many blocks followed it, what a reorganization would cost, and which nodes would accept the replacement. Immutability is accumulated evidence, not a magic property.

Questions

Questions about blocks and history

What is inside a block?

An 80-byte header - version, previous block hash, Merkle root, timestamp, difficulty target and nonce - followed by the transactions. The Merkle root commits to every transaction, so changing any of them changes the header and breaks the chain.

Why can't the blockchain be edited?

Each block's hash is built from its contents and the previous block's hash. Altering an old transaction changes that block's hash, which invalidates every block after it, so an attacker would have to redo all of that proof of work faster than the rest of the network extends the chain.

How large is the blockchain?

Several hundred gigabytes and growing by roughly 50–100 GB a year. A node can run in pruned mode, keeping only recent blocks and the current set of spendable outputs, which needs a few gigabytes while still validating everything.

Sources

Sources and further reading

Primary documents this guide draws on. Links open the original publisher.

  1. Developer guide: block chain developer.bitcoin.org
  2. Reference: block chain developer.bitcoin.org
  3. Block Bitcoin Wiki
  4. Bitcoin: A Peer-to-Peer Electronic Cash System Satoshi Nakamoto, 2008