Honest PolygonLessonsGlossaryPricingApp

Lessons › Blockchain and coins

Block, hash and chain

A bank keeps the record of “who has how much money” to itself. A blockchain does the same, but the record is kept by thousands of computers around the world, and none of them is in charge. So that such a record does not turn into chaos, transfers are gathered into batches — blocks — and lined up in a chain.

The link between blocks rests on a hash. A hash is a fingerprint of data: any text turns into a string of the same length, and changing even one letter changes it completely. The data cannot be recovered from the hash.

In the app this lesson has an interactive simulator — open the lesson in the app.

Try changing one digit of the amount in the field above — the hash becomes completely different. For a block to be accepted, its hash must start with several zeros. The only way to achieve that is brute force: change the nonce number and recompute the hash until you get lucky. That is mining.

Every block stores the hash of the previous one. So forging an old record means recomputing not one block but every block after it, and doing it faster than the rest of the network adds new ones.

Block 1prev.: 0000000000…Alice → Bob: 2nonce: 602hash: 00aac2cff4…fineBlock 2prev.: 00aac2cff4…Bob → Vera: 200nonce: 328hash: 00b2f5b797…fineBlock 3prev.: 00c44ce7e4…Vera → Gleb: 0.5nonce: 52hash: 008d22d33e…link to the old hashEach block stores the hash of the previous one. The hash must start with 2 zeros.
  1. The chain is in order: every block's hash checks out and starts with two zeros, and every block refers to the previous block's hash.
  2. Someone changed the amount in the second block to 200. The block's hash changed and no longer starts with zeros — the forgery is visible at once.
  3. The attacker found a new nonce for the second block. But the third block refers to the old hash — now the link is broken.
  4. For the forgery to pass, every following block must be re-mined, outpacing the network that keeps adding new ones all the while. In Bitcoin that takes more than half of the whole network's power.

Question. Why can't you quietly change the amount of a transfer in an old block?

  1. Blocks are encrypted with a password
  2. That block's hash changes, and the following blocks refer to the old hash — the whole chain would have to be recomputed faster than the rest of the network
  3. The exchange's rules forbid it
Show the answer

b. That block's hash changes, and the following blocks refer to the old hash — the whole chain would have to be recomputed faster than the rest of the network — The protection is not secrecy (blockchain data is open to everyone) but the hash links and the cost of brute force: rewriting the past costs more than taking part honestly.

Facts checked on November 9, 2026.

The whole course is in the app and in the book: Pricing · Book · Test your own idea

Updated November 28, 2026