“Blockchain” is used so loosely that the actual structure gets lost. It is not complicated. A block is two things stapled together, and the chain is one field. Once you can name the fields, several claims people make about immutability become checkable rather than mystical.
What is inside a block?
A header of exactly eighty bytes, and a list of transactions.
The header has six fields, and Bitcoin Core declares them in a short struct
in primitives/block.h. In order: a version number; the hash of the
previous block’s header; a single value called the merkle root that commits
to every transaction in this block; a timestamp; the difficulty target the
block had to meet; and a nonce, which is a number the miner varies while
searching.
That is the whole header. Eighty bytes, no matter how many transactions the block contains.
The transaction list is everything else, and its size is limited — Bitcoin Core expresses the cap as four million weight units, which is a measure that charges differently for different parts of a transaction. Weight unit explains why the limit is not stated in bytes.
What a block does not contain is any balance, any account, any name, or any record of who owns what. It contains transactions, which describe chunks of value moving. The UTXO set is where the “who owns what” lives, and it is computed by every node from the transactions rather than being stored in any block.
What actually makes it a chain?
The second field in the header, and nothing else.
Each header contains the hash of the previous header. A hash is a fixed-size fingerprint of some data, computed so that any change to the data produces a completely different fingerprint and so that nobody can work backwards from the fingerprint to the data.
Now trace what happens if somebody alters a transaction in a block from a year ago. The transaction’s contents change, so the merkle root computed from all the transactions changes, so that block’s header changes, so its hash changes — and the next block’s “previous header hash” field now points at something that no longer exists. That block is invalid. So is the one after it, and the one after that, all the way to the present.
This is why tampering is not a matter of being caught by an auditor. There is no auditor. The altered history simply fails the rules, and every node rejects it automatically while checking the fields it checks for every block.
The further consequence is the one that actually matters: repairing the damage means redoing the proof-of-work for the altered block and every block after it, faster than the honest network is adding new ones. That cost grows with depth, which is why a transaction buried under many blocks is harder to reverse than a recent one, and it is the whole content of the word “immutable” as applied here. Why Bitcoin needs mining at all covers what makes that expenditure necessary.
Why is the header separate from the transactions?
Because it makes the chain checkable by someone who cannot store it.
Eighty bytes per block, at roughly six blocks an hour, is a few megabytes per year. The entire sequence of headers since 2009 is small enough to fit on a phone, and it is enough to verify that an enormous amount of work was done and that each header follows from the last — without possessing a single transaction.
The merkle root is what connects the two levels. It is built by hashing transactions in pairs, then hashing those results in pairs, repeatedly, until one value remains. That construction means somebody can prove a specific transaction is in a block by supplying a handful of intermediate hashes rather than the whole block. Merkle root has the mechanism.
This is the basis of every lightweight wallet, and it is also where the honest caveat belongs: a header plus a merkle proof shows that a transaction was included in a block, and says nothing about whether that transaction was valid, because validity depends on data the light client does not have. What a light wallet actually verifies is precise about the gap.
What is a miner changing?
Two fields of the header, repeatedly, as fast as possible.
A valid block must have a header whose hash is numerically below a target set by the difficulty. The miner assembles their chosen transactions, which fixes the merkle root, then hashes the header and checks the result. If it is too large, they change the nonce and try again. When the nonce space runs out they adjust the timestamp or alter the block’s first transaction slightly, which changes the merkle root and gives them a fresh space to search.
Two consequences are routinely misunderstood. The hashing is performed on the eighty-byte header, not on the transactions — so the amount of work required is entirely independent of how many transactions the block contains. And the miner is not solving anything, computing anything useful, or choosing anything: they are guessing, billions of times a second, and the only skill involved is buying electricity cheaply. How Bitcoin mining actually works is the full treatment.
What is the first transaction in every block?
The one that creates money, and it is unlike every other transaction in Bitcoin.
Each block begins with a coinbase transaction, and it is the miner paying themselves. It has no inputs — it points at no previous output, because the value it creates did not exist before. Its outputs claim two things: the newly issued coins allowed by the current subsidy, and the total of all fees paid by every other transaction in the block. Who pays for Bitcoin to keep running? separates those two revenue lines and explains why the ratio between them is changing.
A node checks this transaction more carefully than any other, because it is where money is created. A block claiming more than the schedule allows is not controversial or disputed; it is invalid, and every node rejects it without reference to anybody. That single check is the entire enforcement of the twenty-one million limit.
The coinbase transaction also carries a field of arbitrary data, which exists because the miner needs somewhere to vary the input to their search. Satoshi used it in the first block to include a newspaper headline from the day, which is the one piece of editorial content in the chain and the closest thing to a signature on the whole project. Mining pools use the same field for identifying marks, so you can usually tell who produced a block by reading it.
Finally, this transaction is the reason for the hundred-block rule mentioned in the consensus constants: newly created coins cannot be spent for a hundred blocks. What does a confirmation actually mean? explains why that number has nothing to do with the six you see in your wallet.
Why don’t blocks store balances?
Because the design records movements and lets every participant derive the positions, which is what makes the record independently checkable.
If blocks contained balances, you would have to trust whoever wrote them. Because they contain transactions, every node can start from the first block and compute the current state itself, arriving at the same answer as everybody else without consulting anybody. That derived state — the set of unspent outputs — is what a node holds in memory and consults when checking whether a new transaction is spending something real.
This is also why verifying the total supply is something an ordinary person can do. Nobody publishes the number; each node computes it, and verifying the 21 million supply yourself is a single command against your own node.
The cost of the choice is that a node must process the whole history once to establish the state, which is what the initial sync is doing, and that the derived state grows as more outputs exist.
What remains uncertain
Whether the weight limit stays where it is. Four million weight units is a consensus rule and therefore changeable in principle and extremely hard to change in practice. Why Bitcoin cannot just process more transactions sets out who pays when it rises, and the question is political rather than technical.
How large the derived state can safely get. The set of unspent outputs must be held by every validating node, and nothing caps its growth directly. Techniques exist to make a new node’s startup cheaper; the long-run trajectory remains an open engineering question.
What happens to header-only verification over very long spans. The assumption that checking headers is cheap holds for decades of chain and has not been tested over the timescales the system is intended to last.
Check it yourself
This takes two minutes in a block explorer and makes the chain concrete.
Open any recent block and find the field labelled “previous block” or “parent”. Copy that value. Now open the block one height lower and look at its own hash. The two are identical — that is the chain, not as a metaphor but as a value you just compared by eye.
While you are there, note the block’s size against the number of transactions it contains, and then note that the header you are reading is eighty bytes regardless. How to read a block explorer explains the rest of the fields, and the two numbers you just compared are the reason nobody can quietly edit last year.