How the blocks are sealed into a chain

The offer's strongest sentence is that its record "cannot be changed". That promise has a precise meaning, and knowing it is the whole difference between a sales line and a mechanism.

  • Lesson 2 of 12
  • 8 min

The scene

A few days later Jassim brings Fatima the sentence in the offer that sounded safest: the record of the transfer, the letter says, "cannot be changed". Khalid, copied on the thread, asks the opposite question: when the seller's agent mistypes the plot number, as agents do, who corrects the entry? Fatima brings one page of the platform's public record to the meeting and lays it on the table. It reads like a cut into paragraphs, and each paragraph begins with a number that is not a line reference but a seal. Neither Jassim nor Khalid has seen the inside of such a record before, and it is plainer than the letter made it sound. Fatima says the promise and Khalid's question are the same question, and that the page on the table answers both.

The idea

Entries travel in blocks

On such a record, entries are not written one by one. They are gathered into a : a batch of entries recorded together, sealed together, and linked to the block before it. The education pages of Ethereum, a large system of this kind, describe a block as a batch of transactions, each block carrying the fingerprint of the one before. The parcel deal would read the same way: "Plot 14, seller signs" in one block, "Al-Rayyan, price held" in the next, "transfer, price paid" in the one after.

The seal on every block

Each block carries a seal of its own, computed from its contents: its entries, plus the seal of the block before it. The seal is a , a short fingerprint computed from a record. The same contents always give the same fingerprint, and any change, however small, gives a different one. So the second seal depends on the first, the third on the second, and so on to the last page.

One change breaks every later seal

Change one entry in an old block and its seal no longer matches its contents, so it must be recomputed. But the new seal is the wrong one for the next block, which quoted the old one, so that block must be recomputed too, and so on to the end. To hide one change, every later block must be rewritten, in every copy, because the honest copies still carry the original seals. The paper that proposed Bitcoin described this arrangement: records hashed into an ongoing chain, so that changing an old record leaves every later fingerprint wrong.

The picture shows four blocks and their seals. The button under it changes one entry in the second block: its seal changes, and the third block, which still quotes the old seal, no longer matches it.

Blocks sealed in a chain Four sequential blocks in a blockchain ledger. Each block contains transactions and carries both a previous seal and its own seal calculated as a cryptographic fingerprint. Arrows connect each block's seal to the previous seal field of the next block. A note explains that each block carries the seal of the one before it, so altering any entry requires rewriting every subsequent block across every copy. Blocks sealed in a chain Block 1 Previous 0000 Plot 14 Seller signs Seal 4817 Block 2 Previous 4817 Al-Rayyan Price held Intruder Fake claim Seal 9046 6205 Block 3 Previous 9046 No match 9046 Transfer Price paid Seal 3381 Block 4 Previous 3381 Fee paid Receipt Seal 7102 Each block carries the seal of the one before it. To hide a change, every later block must be rewritten, across every copy.

What "cannot be changed" means

The property has a name: . On a chain it means less and more than the letter implies. Less, because a change is not impossible: the holder of a copy can edit any entry in it, and nothing stops the edit. More, because the edit cannot be quiet. The next block no longer matches it, every other copy disagrees, and the change is plain to anyone who looks. A ledger organised this way, as connected sealed blocks, is what the word refers to, and the seals are the reason it is a chain at all.

This also answers Khalid. The chain never corrects a wrong entry. It keeps a wrong entry as faithfully as a right one, because what the copies guarantee is agreement, not truth. Whether a wrong entry can be put right, and by whom, is settled outside the chain, by the parties and the platform's rules. The coming lessons return to it.

Where this fits

The seals explain the offer's safest-sounding sentence and Khalid's question at once: the record keeps what was agreed, and shows everyone that it was meddled with. The next lesson asks the question the seals cannot answer: with hundreds of copies, who decides which block is added next, and what happens when two copies disagree?

References and going further

Check yourself

Someone with access to one holder's copy of the platform's public record changes an old entry in that copy only: the price stated in an early transfer. What does the design do?

Use the arrow keys to read the options, then press Space to answer.

Type a lesson, an idea or a job. English words work in Arabic too.