The word "blockchain" is most often heard alongside cryptocurrencies, but the technology itself is a more general idea: a way for many parties who do not necessarily trust each other to keep a single, shared record that is very difficult to alter after the fact. Stripped of the financial excitement that often surrounds it, a blockchain is essentially a special kind of database. This article explains how it works, what problems it is designed to solve and where its limitations lie. It is a technical explainer, not investment advice.
The problem blockchain tries to solve
Most records in the modern world are kept by trusted intermediaries. A bank keeps the ledger of who owns how much money; a land registry records property ownership; a company tracks its own inventory. This works well as long as everyone trusts the record-keeper. But it also creates a single point of control and failure.
A blockchain distributes the ledger across many computers, called nodes. Each node holds a copy of the entire record. When someone wants to add a new entry, the network must agree that it is valid before it is accepted. No single participant can quietly rewrite history, because everyone else would notice that their copies no longer match.
Blocks, hashes and the chain
Entries on a blockchain, typically transactions, are grouped into blocks. Each block contains a batch of transactions, a timestamp and, crucially, a reference to the previous block. That reference is a cryptographic hash.
A hash function takes any input – a word, a document, a whole block of data – and produces a fixed-length string of characters that acts like a digital fingerprint. Good hash functions have important properties:
- the same input always produces the same hash;
- changing even a single character in the input produces a completely different hash;
- it is practically impossible to reconstruct the input from the hash or to find two inputs with the same hash.
Because each block stores the hash of the block before it, the blocks form a chain. If someone tried to alter a transaction in an old block, that block's hash would change, breaking the link to the next block, and the next, all the way to the present. To hide the tampering, an attacker would have to recalculate every following block and convince the rest of the network to accept the forged version. That is what makes the record "tamper-evident".
Consensus: how strangers agree
The hardest part of a distributed ledger is deciding which new block to add when thousands of nodes are involved and some might be dishonest. The rules for reaching agreement are called a consensus mechanism. The two best-known approaches are:
- Proof of work – used by Bitcoin. Participants called miners compete to solve a computational puzzle that requires enormous numbers of guesses. The winner adds the next block and receives a reward. Because rewriting history would require redoing all that work faster than the honest network, attacks become extremely expensive. The downside is high electricity consumption.
- Proof of stake – used by Ethereum since 2022 and many newer networks. Validators lock up, or "stake", their own cryptocurrency as collateral. They are chosen to propose and confirm blocks, and they can lose part of their stake if they act dishonestly. This uses far less energy than proof of work.
Some blockchains are public, meaning anyone can join and read the ledger. Others are permissioned, run by a known group of organisations such as a consortium of banks or logistics companies, and use lighter consensus methods suited to participants who already know each other.
Smart contracts and other uses
Some blockchains, most notably Ethereum, can store and run small programs called smart contracts. These execute automatically when certain conditions are met – for example, releasing a payment when a digital item is delivered. This idea underpins decentralised applications, digital tokens and various experiments in finance and gaming.
Outside cryptocurrencies, organisations have explored blockchain for supply-chain tracking, verifying educational certificates, recording the origin of goods and managing digital identity. In some cases it adds genuine value; in many others, a conventional shared database run by a trusted party turns out to be simpler and cheaper.
Limitations worth knowing
Blockchains trade efficiency for decentralisation. Public networks process far fewer transactions per second than traditional payment systems, although additional "layer two" systems attempt to address this. Data written to the chain is effectively permanent, which can clash with privacy rules and the right to correct mistakes. A blockchain also only guarantees the integrity of what is recorded; if false information is entered at the start, the chain will faithfully preserve that falsehood. And losing the private key that controls an account usually means losing access for good.
Seen clearly, blockchain is neither a miracle nor a fraud in itself. It is a clever combination of cryptography, networking and economic incentives that solves a specific problem – keeping a trustworthy shared record without a central keeper. Whether that problem exists in a given situation is the most important question to ask.
Comments (0)