Blockchain

On this page 7

A blockchain is a shared, append-only ledger in which transactions are grouped into blocks, each block is cryptographically linked to the one before it, and a network of independent computers agrees on the order of blocks through a consensus mechanism. Because altering any past block would break every link after it, the history becomes practically tamper-evident once enough blocks have been added on top.

In blockchain fundamentals, the key idea is that participants who do not trust each other can still agree on a single version of the data without a central operator. This makes blockchains the foundation of cryptocurrencies, stablecoins, smart contracts and tokenized assets. A blockchain is one specific kind of distributed ledger; not every distributed ledger chains blocks or allows open participation.

A blockchain stores data in blocks, each with a header and a list of transactions. The header contains the hash of the previous block, a summary of the block’s transactions and metadata such as a timestamp. A hash is a fixed-length fingerprint produced by a cryptographic function such as SHA-256 in Bitcoin or Keccak-256 in Ethereum.

The table below lists the main parts of a block and the role each one plays.

ComponentWhat it containsWhy it matters
Previous block hashFingerprint of the prior blockCreates the chain and tamper evidence
Merkle rootSingle hash summarizing all transactionsAllows compact proof that a transaction is included
TimestampApproximate creation timeOrders blocks and adjusts difficulty
Consensus dataNonce, validator signature or similarProves the block was produced legitimately
Transaction listSigned transfers or contract callsThe actual recorded activity
Main components of a block

Every transaction is authorized with a digital signature made with the sender’s private key. Nodes verify the signature and check that the sender has enough balance before accepting it, so nobody can spend funds they do not control.

How the network agrees on the next block

Blockchain nodes reach agreement through a consensus mechanism that decides who may add the next block and which chain is valid. In proof of work, miners compete to solve a computational puzzle; in proof of stake, validators who lock up tokens are selected to propose and attest to blocks.

Block timing and confirmation behavior differ considerably between networks. Bitcoin targets one block about every ten minutes, while Ethereum produces a block every twelve seconds and reaches economic finality after roughly two epochs, about thirteen minutes.

MechanismWho adds blocksMain security basis
Proof of workMiners solving hash puzzlesCost of electricity and hardware
Proof of stakeValidators chosen by stakeValue of locked tokens that can be slashed
Proof of authorityApproved, identified validatorsReputation and legal accountability
Byzantine fault tolerant protocolsFixed validator set voting in roundsHonest majority of more than two thirds
Consensus approaches compared

Types of blockchains

Blockchains differ mainly in who may read the data, submit transactions and validate blocks. These choices determine how decentralized, transparent and fast a network can be.

TypeWho can participateTypical use
Public permissionlessAnyone can read, transact and validateCryptocurrencies, DeFi, public tokens
Private permissionedOne organization controls accessInternal record keeping and testing
ConsortiumA group of known organizationsTrade finance, supply chains, settlement
Layer 2 networkUsers of a base chain, with batched settlementCheaper and faster transactions
Public, private and consortium blockchains

Public chains offer the strongest censorship resistance but expose all transactions to everyone. Permissioned chains are faster and more private, yet they rely on trust in known operators, which narrows the advantage over a conventional shared database.

Blockchain compared with a traditional database

A blockchain is not a faster or better database; it trades efficiency for the ability to operate without a trusted administrator. The comparison below clarifies when that trade is worthwhile.

PropertyPublic blockchainCentralized database
ControlShared among many nodesSingle operator
Data changesAppend-only, history preservedRecords can be updated or deleted
ThroughputUsually tens to thousands of transactions per secondOften far higher
TransparencyPublicly verifiableVisible only to authorized users
Cost per writeTransaction fee paid by the userAbsorbed by the operator
Trust modelCryptography and consensusTrust in the operator
Blockchain and centralized database compared

A practical test is simple: if all participants already trust one party to run the system, a conventional database is almost always cheaper and faster. A blockchain earns its cost when several parties need a shared record and none should control it alone.

Limitations and misconceptions

Blockchains have real constraints that are often understated. Understanding them prevents misplaced expectations about what the technology can guarantee.

  • Garbage in, garbage out: a blockchain proves that data was recorded, not that it was true; off-chain facts need trusted oracles.
  • Not truly anonymous: most public chains are pseudonymous, and transaction analysis can often link addresses to people.
  • Scalability limits: every full node processes every transaction, which is why fees rise during congestion and layer 2 networks exist.
  • Immutability cuts both ways: mistaken transfers usually cannot be reversed, and lost private keys mean permanently lost funds.
  • Probabilistic finality: on proof of work chains, recent blocks can still be replaced, so recipients wait for several confirmations.

In simple terms

A blockchain is like a shared notebook that thousands of people keep copies of. New pages are added in order, and every page carries a seal that depends on all the pages before it.

If someone tries to secretly change an old page, the seals no longer match and everyone else notices. That is why nobody needs a single trusted keeper: the group as a whole keeps the record honest.

A practical example

A freelance designer in Kenya is paid by a client in Canada using a dollar stablecoin on a public blockchain. The client signs a transaction with a private key in a wallet app, and the transaction is broadcast to the network’s nodes.

Within seconds, validators include it in a block, and after a short wait the payment is considered final. The designer can check it on a block explorer, which shows the amount, the block number and the number of confirmations. The transaction fee is a small fraction of what an international bank transfer would cost.

No bank in either country operated the ledger, yet both parties trust the outcome because thousands of independent nodes recorded the same block. The designer then converts part of the balance to local currency through an exchange.