What Is a Blockchain?

A blockchain is a digital ledger that many computers keep in identical copies, in which records are grouped into blocks and each block is linked to the previous one by a cryptographic fingerprint. The links make the history hard to rewrite without anyone noticing.

The idea became widely known in 2009 with bitcoin, whose public ledger records every payment ever made on the network. Blockchains are the best-known kind of distributed ledger technology (DLT). The EU’s Markets in Crypto-Assets Regulation (MiCA) defines a distributed ledger as a repository of transaction records that is shared and kept in sync across a network of computers, called nodes, using a consensus mechanism.

How a Blockchain Works

Blocks Linked by Hashes

The key ingredient is the hash function: a calculation that turns any input, from a word to a large file, into a short string of fixed length. The same input always gives the same output, but changing even one character produces a completely different result. It is also practically impossible to work backward from the output to the input.

Each block contains a batch of transactions, a timestamp, and the hash of the block before it: that stored hash is the link in the chain, and every node can recompute it to check the links.

How Tampering Is Detected

Suppose someone edits an amount in an old block. The block’s hash changes, so it no longer matches the copy stored in the next block. To hide the edit, the forger would have to rebuild that next block, and the one after, all the way to the newest block, and then persuade the rest of the network to adopt the altered chain. Honest nodes holding the original spot the mismatch at once.

A blockchain thus makes past entries tamper-evident, but it cannot tell whether information was true when first recorded.

Consensus Mechanisms

With no central bookkeeper, the network needs rules, the consensus mechanism, to decide who adds the next block and which version of the ledger counts.

Proof of Work

In proof of work, computers called miners compete to find a number that, combined with the block’s contents, produces a hash below a target value. The only way to find it is trial and error, which takes specialized hardware and electricity. The winner adds the block and earns a reward. The Bitcoin white paper argues that the ledger stays secure as long as honest participants control most of the computing power: rewriting history would mean redoing the work for every later block faster than everyone else combined.

Proof of Stake

In proof of stake, validators lock up coins as collateral, known as staking, and are selected to propose and confirm blocks broadly in proportion to their stake. In many designs, misbehavior costs them part of their pledge. The approach uses far less energy than mining. The Bank for International Settlements (BIS) noted in 2022 that it relies on a limited number of validators, a concentration that creates conflicts of interest and security risks.

Why Confirmations Matter

In proof of work, two miners sometimes find a block almost simultaneously; nodes follow the branch with the most accumulated work and drop the other. Settlement is therefore probabilistic: each new block on top of a transaction, called a confirmation, makes reversal less likely. The BIS recalls that on March 11, 2013, a software incompatibility split the Bitcoin network into two chains, and some transactions were voided hours after users thought them final.

Example of Confirmation Arithmetic

Waiting times on a blockchain follow from its average block interval:

Blocks per day
Blocks per day=1,440 minutesAverage block interval (minutes)\text{Blocks per day} = \frac{1{,}440 \text{ minutes}}{\text{Average block interval (minutes)}}

where:

  • Average block interval: the time the network targets between blocks. Actual intervals vary randomly around it.

Permissionless vs. Permissioned Blockchains

Feature Permissionless Permissioned
Who can validate Anyone who follows the rules Only approved participants
Identity of validators Usually unknown Known, often regulated
What secures the ledger Economic incentives (work or stake) Contracts, supervision, and reputation
Native coin Usually needed to reward validators Not required
Speed and capacity Usually limited Usually higher
Main trade-off Openness at the cost of efficiency Efficiency at the cost of trusting an operator

Uses Beyond Cryptocurrencies

Tested uses beyond crypto-assets include:

  • Payments and settlement: central banks including the European Central Bank and the Bank of Canada tested DLT for interbank settlement; the BIS reported in 2018 that results matched existing systems without clearly beating them.
  • Tokenized securities: bonds and other assets can be issued or recorded as digital tokens, which may simplify settlement.
  • Trade finance and supply chains: a shared record can track documents and goods across firms.
  • Smart contracts: programs on a blockchain that run automatically when set conditions are met.

Limits of Blockchain

  • Energy use: proof of work is energy-intensive by design. In 2018, the BIS estimated that Bitcoin mining used as much electricity as a mid-sized economy such as Switzerland.
  • Scalability: the BIS put capacity in 2022 at around four transactions per second for Bitcoin, at most about 345,600 a day, and about 30 for Ethereum. When blocks fill up, users bid higher fees. The BIS describes a “scalability trilemma”: an open blockchain can achieve only two of scalability, security, and decentralization.
  • The oracle problem: a smart contract cannot see the outside world. It depends on services called oracles to report prices, weather, or delivery data, and an oracle that reports false data can corrupt the outcome.
  • Irreversibility: a mistaken or fraudulent transfer usually cannot be undone, which raises the stakes of scams; see cryptocurrency risks.

Advantages and Disadvantages of Blockchain

The technology shifts trust from a central operator to code, incentives, and many copies of one record.

Pros

  • Past records are tamper-evident and can be checked by anyone holding a copy
  • No single point of failure: the ledger survives if some nodes go offline
  • Transparent history of transactions on public networks
  • Can settle transfers of digital assets without a central intermediary

Cons

  • Proof of work consumes large amounts of electricity
  • Limited capacity, with fees that rise when the network is congested
  • Cannot verify real-world data fed into it (the oracle problem)
  • Errors and thefts are hard or impossible to reverse

Blockchain vs. Traditional Database

A conventional database, such as a bank’s account system, is run by one organization that can correct errors and reverse payments. A blockchain removes that administrator, which helps when participants trust no single party; where a trusted operator exists, a central database is usually faster and cheaper. A stablecoin mixes the two models: blockchain transfers, central issuer.