Skip to content

Episode 02

Why Do We Need Blockchain?

A database with an audit log is cheaper, faster and simpler than any blockchain. This is the specific set of conditions under which it stops being enough.
  • Blockchain
  • 5 min read

What you’ll learn

  • What a signed audit log already gives you, for far less
  • The four conditions that have to hold before a chain earns its cost
  • Why "trustless" is a claim about the protocol, not about the system around it
  • How to answer the question honestly when someone proposes a chain at work

Postgres with an append-only audit table, every row signed, replicated to a standby, backed up hourly. That handles most of what people describe when they describe wanting a blockchain. It is faster, it is cheaper, your team already knows how to run it, and you can hire people who have done it before.

So the honest question is not "what can blockchain do". It is: what does that setup fail at, and does your situation actually hit that failure?

What the audit log already gives you#

Take the signed-audit-log design seriously for a moment, because it is the real competitor.

  • History — every change recorded, with who made it and when
  • Tamper evidence — sign each row, chain the signatures, and edits become detectable in exactly the way a blockchain makes them detectable
  • Availability — replicas and backups
  • Verifiability — anyone with the public key can check the signatures

That is a lot of the pitch, already. If you find yourself listing those four as reasons to adopt a chain, the design has not been examined closely enough.

Hash chains predate blockchain by decades

Linking records with hashes is a 1990s technique from secure timestamping. It was not invented for cryptocurrency and it is not what makes a blockchain a blockchain. The novel part is agreeing on the chain without a coordinator.

The thing the audit log cannot do#

Here is what remains: whoever runs the database can still rewrite it.

Not undetectably — the signatures make edits visible. But they control the copy everyone reads from. They can drop a row and reissue signatures over the shortened history. They can refuse to serve a record. They can go offline. If the other parties want to prove what the record said last Tuesday, they are proving it against a copy the operator controls.

That is the gap. And it only matters if you cannot appoint an operator everyone accepts.

The four conditions#

Before a chain earns what it costs, all four of these need to hold. Not most. All four.

Decision

When a blockchain is the right answer

1. More than one party writes to the record. One writer needs no consensus. It needs a database.

2. No party among them is acceptable as the authority. Not "we would prefer not to pick one" — genuinely unacceptable, because they are competitors, or because the regulator will not allow it, or because the parties are anonymous.

3. Disagreement is expensive. If a mismatch is resolved by two operations teams on a call, the machinery is not worth it. It is worth it when a mismatch means real money moves the wrong way.

4. Independent verification is required. Someone outside the operators has to be able to check the history without asking any of them for a copy.

Most proposals fail at condition two. A supply chain project with one dominant buyer and forty suppliers has an obvious authority: the buyer. They are already setting the terms. A chain does not change who has power in that relationship; it just makes the database slower.

What it costs when the conditions do hold#

Even then, go in with the price in view.

  • Throughput. Every write is agreed by many machines rather than executed by one. Orders of magnitude, not percentages.
  • Latency. A write is not final when it is accepted; it is final when enough of the network has agreed. On some designs that is sub-second. On others it is minutes, with a probability attached rather than a guarantee.
  • Operational surface. Key management, node upgrades that must be coordinated across organisations, network partitions between parties who do not share an ops team.
  • Irreversibility, which cuts both ways. The property that makes the record trustworthy also makes a mistaken write permanent. Systems handling real value need a deliberate answer for this, and "we will be careful" is not one.

Trustless is a narrow claim

"Trustless" means the protocol does not require trusting a specific participant. It says nothing about the code, the key custody, the oracle feeding external data in, or the humans who can push an upgrade. Most real failures happen in those places, not in the consensus.

The version of this you can say at work#

When someone proposes a chain, the useful response is not enthusiasm and not dismissal. It is four questions:

  1. Who writes to this record, and how many of them are there?
  2. If we had to appoint one party to hold it, who would object, and on what grounds?
  3. What does a disagreement between parties cost us today?
  4. Who needs to verify the history without asking us for a copy?

Clear answers to all four, and you have a real case. Vague answers to any, and what is actually wanted is a shared database with better access control — which is a good thing to want, and much easier to deliver.

That is not a dismissal of the technology. It is the only way to tell where it genuinely earns its place, which is what makes the cases where it does worth taking seriously.

Next#

With the why settled, the mechanism becomes much easier to follow. Episode three walks a transaction from the moment it is signed to the moment it is final.

Study materials

Code, notes and references

All resources
  • Code

    Blockchain Fundamentals — example repository

    The minimal chain built across the series: block structure, hash linking, validation and a toy consensus loop, in one runnable project.

    • TypeScript
    • #blockchain
    • #hashing
    • #consensus
  • Notes

    Blockchain Fundamentals — study notes

    Condensed notes for the series: the vocabulary, the four conditions, the consensus comparison table and the questions to ask of any chain.

    • #reference
    • #summary

Continue learning

03How Does Blockchain Work?

Follow one transaction from the moment it is signed to the moment it is final — keys, mempool, block assembly, validation and propagation, with nothing skipped.

Tutorial

BlockchainEpisode 03

How Does Blockchain Work?

Follow one transaction from the moment it is signed to the moment it is final — keys, mempool, block assembly, validation and propagation, with nothing skipped.

Start tutorial

Article

Blockchain

Where Blockchain Does Not Make Sense

Five proposals that come up repeatedly, why each one fails on inspection, and what the person asking for it usually actually needs.

Read

Tutorial

BlockchainEpisode 01

What Is Blockchain?

A practical introduction to blockchain — what the data structure actually is, why it exists, and how it changes the way a group of systems maintains a shared record.

Start tutorial