Emerging Technology

Introduction to Blockchain Technology and Its Applications

A plain explanation of what a blockchain is, how a distributed ledger works in concept, where it may be useful and when an ordinary database is the better tool.

On this page
  1. What a blockchain is
  2. The building blocks
  3. Public and permissioned chains
  4. Where it may be useful
  5. Limits worth knowing
  6. When a simpler database is better
  7. What engineers can take from it

What a blockchain is

A blockchain is a way of keeping a shared record, usually called a ledger, so that many parties can hold copies and agree on what it contains without relying on one central keeper. Entries are grouped into blocks. Each block includes a fingerprint of the one before it, so the blocks form a chain. Changing an old entry would change its fingerprint and break the link to everything after it.

That is the whole core idea: an append-mostly log that is hard to alter quietly, copied across several computers. Everything else, including cryptocurrencies, is built on top of it and is a separate subject from the data structure itself.

This article describes concepts only. It is not financial, investment or legal advice, and it says nothing about the value of any digital asset.

The building blocks

Hashes

A hash function turns data of any size into a short, fixed-length value. Two properties matter here. The same input always gives the same output, and a tiny change in the input gives a completely different output. Storing each block’s hash inside the next block is what makes tampering visible.

Digital signatures

Participants typically sign their entries using public-key cryptography, so others can check who authorised an entry without sharing a secret. The signature shows that an entry came from the holder of a particular key. It does not prove that the entry is true, only that the key holder created it.

Distributed copies

Instead of one server holding the record, many machines, called nodes, each keep a copy. When a new block is proposed, nodes check it against agreed rules and accept or reject it.

Consensus

The hard part is getting independent nodes to agree on the next block when some may be faulty or dishonest. Different systems use different consensus methods, each with trade-offs in speed, energy use, and how many bad participants they can tolerate. The details vary widely and are best read from the documentation of the specific system you are looking at.

Public and permissioned chains

In a public blockchain, anyone can join and read the ledger under the system’s rules. In a permissioned one, a known set of organisations controls who may take part. Permissioned designs are often discussed for business settings where participants are known but do not fully trust one another. They give up some openness in exchange for control and, often, performance.

Where it may be useful

Plausible technical uses tend to share one feature: several parties who do not fully trust each other need a shared record, and none of them is willing to let another one control it. Examples that are commonly discussed include:

  • Recording the handoffs of goods between companies in a supply chain.
  • Keeping an auditable log of changes to shared records, such as certificates or registrations.
  • Settling transactions between organisations that would otherwise reconcile their separate books.

Whether any of these works better with a blockchain than without one depends on the details. Claims in this area are often more optimistic than the evidence, so ask for specifics.

Limits worth knowing

  • Garbage in, garbage out. A blockchain can show that a record has not been changed since it was written. It cannot show that the record was correct at the time. A wrong sensor reading or a false delivery note stays wrong, permanently.
  • Performance. Replicating and agreeing on data across many nodes is usually slower and more costly than writing to one database.
  • Immutability cuts both ways. Mistakes are hard to correct, and rules about erasing personal data, which vary by country, can conflict with a permanent record.
  • Key management. If a signing key is lost or stolen, the consequences can be serious and hard to reverse. Good cybersecurity basics still apply.
  • Software bugs. Code that runs on a chain is software, and it needs the same care as any other, including unit tests and review.

When a simpler database is better

Most record-keeping problems do not need a blockchain. A short set of questions helps:

  • Is there a single organisation that everyone is happy to trust with the data? If so, an ordinary database with access controls and backups is usually simpler, faster and cheaper.
  • Do you need to edit or delete records? A conventional database handles that directly.
  • Do you need to handle high volumes with low delay? Central systems usually do this more easily.
  • Can an audit log in a normal database meet the need? Append-only tables and signed logs often do.

A blockchain starts to make sense only when multiple independent writers need a shared record and no one party can or should control it. If you cannot name those parties and explain why they cannot share a trusted database, that is a sign to reconsider.

What engineers can take from it

Even if you never build on a blockchain, the ideas carry over. Hashing for integrity checks, signed records, and append-only logs show up in version control, software distribution and data pipelines. Version control systems, for example, use content hashes in a way that will look familiar after reading this.

If you are asked to evaluate a blockchain proposal, treat it like any other design decision. Write down the requirements, compare alternatives with simple decision matrices, and consider security, maintenance and what happens if the project ends. Where regulation applies, rules differ by country and industry, so check with the relevant professionals.

The technology is real, but it is a specific tool for a specific kind of problem. Understanding that is more useful than either dismissing it or assuming it fits everywhere.

The complete guide to emerging technology

The Future of Engineering: Trends to Watch in 2023
Read the guide

Keep exploring

Guides from other topics

All topics →