Blockchain

A shared, append-only ledger of transactions kept in sync by a network of computers instead of a central authority.

What is a Blockchain?

A blockchain is a shared record of transactions that is stored and updated by a network of computers rather than by one central operator. New entries are grouped into blocks, and every block is cryptographically linked to the one before it, so past records are very hard to change.

How it works

Users sign transactions with their private keys and broadcast them to the network. Nodes check that each transaction follows the rules, for example that the sender owns the coins being spent. Valid transactions are gathered into a block. A consensus mechanism, such as proof of work or proof of stake, decides whose block is added next. Every node then verifies the new block and adds it to its own copy of the ledger.

Each block contains the hash of the previous block. Changing an old transaction would change that block's hash and invalidate every later block, so an attacker would have to redo the work or stake behind all of them.

Example

Bitcoin's blockchain starts with the genesis block mined in January 2009. Anyone can download the full history, verify every transaction since then and see the current balance of any address, without asking permission from anyone.

Why it matters

A blockchain lets parties who do not know or trust each other agree on who owns what, without a bank or other intermediary keeping the books. This is what makes digital money without a central issuer possible, and it is the base layer for smart contracts, tokens and decentralised applications.

Limits and misunderstandings

Related terms