What is a blockchain?
- A blockchain is a shared database (a ledger) copied across many independent computers.
- New entries are grouped into blocks; each block points to the one before it with a cryptographic fingerprint, so changing old data breaks the chain.
- Computers agree on the next block using a consensus mechanism such as proof of work or proof of stake.
- The main benefit is that no single company has to be trusted to keep the record honest. The main costs are speed, fees and complexity.
The short version
A blockchain is a list of records (usually transactions) that thousands of computers keep identical copies of. Records are bundled into blocks, and every block contains a fingerprint of the block before it. Because of that link, quietly editing an old record would change its fingerprint and break every block after it, which the rest of the network would immediately reject.
How a block is linked to the last one
Each block includes a hash of the previous block. A hash is the output of a function (Bitcoin uses SHA-256) that turns any data into a fixed-length string. Change even one character of the input and the hash changes completely. Since block 1,000 contains the hash of block 999, rewriting block 999 means you would also have to redo block 1,000, 1,001 and every block since, faster than the whole honest network. That is what makes the history practically permanent.
Who decides which block comes next?
There is no central administrator, so the network needs rules everyone can verify. These rules are called a consensus mechanism:
- Proof of work (Bitcoin): computers called miners compete to solve a costly math puzzle. The winner proposes the next block and earns a reward.
- Proof of stake (Ethereum since 2022): validators lock up coins as collateral and are chosen to propose and confirm blocks. Cheating can cost them their stake.
Read more in Proof of work vs proof of stake.
Public vs private blockchains
Public (or permissionless) blockchains like Bitcoin and Ethereum let anyone read the data, send transactions and run a node. Private or permissioned blockchains limit who can participate. They are used by some companies internally, but they give up much of the "no one is in charge" benefit.
What blockchains are good and bad at
Good at: keeping a shared record that no single party controls, moving value across borders without an intermediary, and running programs (smart contracts) whose rules everyone can inspect.
Bad at: speed and cost compared with a normal database, storing large files, and fixing mistakes. A transaction sent to the wrong address usually cannot be reversed. And a blockchain only guarantees what is on the chain; it cannot check whether real-world information fed into it is true.
Frequently asked questions
Is a blockchain the same as Bitcoin?
No. Bitcoin is one cryptocurrency that runs on its own blockchain. Blockchain is the general technique; there are many blockchains.
Can a blockchain be hacked?
Rewriting a large, well-established public blockchain is extremely expensive. Most losses happen around it instead: hacked exchanges, stolen keys, buggy smart contracts and scams.
Where is the blockchain stored?
On every full node: the computers that download, check and store a complete copy and share new blocks with each other.
Sources and further reading
- Bitcoin: A Peer-to-Peer Electronic Cash System (Satoshi Nakamoto, 2008)
- Intro to Ethereum (ethereum.org)
- NIST: Blockchain Technology Overview (NISTIR 8202)
This guide explains how things work; it isn't financial, legal or tax advice. Crypto is volatile and you can lose money.