fixmint
EN

What is a blockchain?

The textbook saysBlockchain: a distributed, append-only ledger in which batches of transactions are grouped into blocks, each cryptographically linked to the previous one by a hash.

In plain wordsA notebook that everyone keeps a copy of, where new pages can be added but old pages cannot be changed without everyone noticing.

Suppose your class keeps a notebook that lists who gave what to whom. 'Mia gave Sam two stickers.' 'Sam gave Jo a pencil.' But if one kid holds the only notebook, they could cheat. They could rub out a line, or add one that never happened.

Here is a fix. Every child keeps their own copy of the notebook. When a new swap happens, everybody writes it down at the same time. Now, if one kid tries to change an old line in their copy, all the other copies disagree, and the odd one out is spotted at once.

A blockchain adds one more clever trick. Each new page, called a block, holds a batch of the latest swaps, and also a fingerprint of the page before it. The fingerprint is a short code that is made from everything on that page, and it changes completely if even one letter on the page changes. This is called a hash.

Now picture the pages chained together, each carrying the fingerprint of the previous page:

  • Change a line on page 3, and page 3's fingerprint changes.
  • Page 4 holds the old fingerprint of page 3, so page 4 no longer matches.
  • The mismatch runs on through every later page.

To cheat, someone would need to redo all the pages after the change, on most of the copies, faster than everyone else adds new ones. That is meant to be so hard that it is not worth trying.

That is what a blockchain is: pages (blocks) linked by fingerprints, with copies kept by many computers, so no single owner is needed.

It was first used for Bitcoin, a digital money described in 2008 by a person or group called Satoshi Nakamoto, and started in January 2009. Blockchains have since been tried for many other records.

Not every job needs one. If one trusted organisation can keep a record, an ordinary database is simpler and faster. This explains how it works, and it is not advice about buying anything.

Picture it

Picture a long paper chain made of links, where each link has the name of the link before it written inside. If someone swaps one link for a fake, the writing on the next link no longer matches, and the whole class can see where the chain was tampered with.

Words you might hear

Block
one page of the shared record, holding a batch of new entries
Hash
a short code made from some data, which changes completely if the data changes
Ledger
a record book of who owns or owes what

One step further

Computers in a blockchain network must agree on which new page to add. Bitcoin uses a method called proof of work, where computers compete to solve a hard puzzle, which takes a lot of electricity. Other designs use proof of stake, which picks who adds the next block based on the value they have locked up as a promise to behave. Each method has trade-offs in cost, speed and security. Security researchers also point out that the code and the people around a blockchain can still fail, even if the chain itself is hard to alter.

Next questions

  • What is encryption?

    Scrambling a message with a secret rule so that only someone who knows the rule can unscramble and read it.

  • What is an algorithm?

    A list of clear steps, done in order, that gets a job done every time.

  • How does the internet work?

    Millions of computers joined by cables and radio waves, passing tiny pieces of messages to each other until they arrive.

  • What is the stock market?

    A big market where people buy and sell tiny pieces of companies, and the prices change as people change their minds.

Sources

Questions

Is blockchain the same as Bitcoin?

No. Bitcoin is a digital currency, and blockchain is the record-keeping method it uses. The method can be used for other things, and other digital currencies use their own blockchains.

Why is it hard to change a blockchain?

Each block holds a fingerprint of the one before, and many computers keep copies. Changing an old block would break every later fingerprint, and the other copies would disagree.

Does blockchain make things automatically true?

No. It keeps a record hard to alter after it is written, but it cannot tell whether what was written in the first place was true. Wrong data entered into it stays wrong.