Year 9 / Age 14

🔗 Blockchain Explorer

Learn how blocks connect, why changing one block breaks the chain, and how cryptocurrency differs from ordinary digital currency.

What is a blockchain?

A blockchain is a decentralised database. Transaction records are stored in connected blocks and copies of the blockchain are held by many computers on the network.

Think of it like this: instead of one teacher keeping the only copy of a record book, many computers each keep a copy.

What is inside a block?

  • Data: e.g. sender, receiver and amount.
  • Hash: a unique digital fingerprint for the block.
  • Previous hash: the fingerprint of the block before it.
  • Timestamp: records when the event happened.

Click the blocks to inspect the chain

Each block points backwards to the previous block. Block 1 is the genesis block.

👆 Select a block to see how its hash connects it to the previous block.

Why use hashes?

1. Transaction happens
2. Block is created
3. Hash is calculated
4. Next block stores that hash

Key idea: change the data → the hash changes → the next block's stored previous hash no longer matches → the chain is broken.

🕵️ Try to hack Block 4

Imagine a hacker changes the transaction in Block 4 from £20 to £20,000.

Watch what happens

The chain is valid. Press Hack Block 4 to simulate tampering.

Why does Block 4 become invalid?

Changing the transaction data changes Block 4's hash. But Block 5 still says that the previous hash is the old value.

What about Blocks 5, 6 and 7?

They also become invalid because the chain no longer connects correctly. The network can detect that something has been tampered with.

Exam sentence: “If Block 4 is changed, its hash changes. Block 5 contains the old hash, so the link is broken and Blocks 5–7 become invalid.”

🌐 A decentralised network

There is no single central server controlling the blockchain. Network computers, often called nodes, keep copies of the transaction history.

What happens?

  1. A new transaction is made.
  2. A new block is created.
  3. The block is sent to network computers.
  4. Computers check the block.
  5. The valid block is added to the chain.
👩 Irina
£50
➡️
👨 Nick

Press the button to broadcast the transaction to the network.

💻 Node A
waiting
💻 Node B
waiting
💻 Node C
waiting
💻 Node D
waiting
💻 Node E
waiting
💻 Node F
waiting
No transaction has been broadcast yet.
Important: The textbook describes this as making tampering extremely difficult because an attacker would need to overcome the copies and validation of the network, not simply change one central database.

💳 Digital currency vs ₿ cryptocurrency

All cryptocurrency is digital currency, but not all digital currency is cryptocurrency.

FeatureTraditional digital currencyCryptocurrency
Digital only?✓ Yes✓ Yes
Central control?Usually controlled by banks / central authoritiesDesigned to be decentralised
Who sets the rules?Banks and governmentsThe cryptocurrency's network/community and protocol
Transactions publicly recorded?Not normally on a public blockchainBlockchain records can be publicly visible
Uses blockchain?✗ Not necessarily✓ Yes, in the model described here
ExamplesMoney held electronically in bank/payment systemsBitcoin and other cryptocurrencies

🏦 Digital currency

Money represented as data in a computer system. Banks and other central authorities can manage accounts and transactions.

Memory clue: Digital = electronic money.

🔗 Cryptocurrency

A type of digital currency that uses cryptography and a decentralised blockchain system to record transactions.

Memory clue: Crypto = digital + cryptography + decentralised network.

🧠 Check Your Knowledge

Answer the questions. Read the explanation after each answer.