A blockchain is the record-keeping technology that sits underneath Bitcoin, Ethereum, and most cryptocurrencies. At its simplest, it is a database that many independent computers store and update together, with strong cryptographic guarantees that entries cannot be quietly changed. Understanding blocks, hashes, and consensus explains why crypto transactions are so hard to fake or reverse.
Blocks linked by cryptographic hashes
Transactions are bundled into blocks, and each block includes a cryptographic fingerprint, called a hash, of the block before it. Because every block points back to its predecessor, the blocks form a chain in a fixed order. If someone alters a past transaction, that block's hash changes and no longer matches the next block, so the tampering is instantly obvious. This linking is what gives a blockchain its tamper-evident property.
A ledger copied across many computers
Instead of living on one company's server, the ledger is copied across a network of computers called nodes. Each node stores its own full copy and checks every new transaction against the network's rules. Because there is no single copy to hack or edit, an attacker would need to overpower the whole network at once. This distribution is what makes a blockchain decentralized and resilient.
Reaching agreement through consensus
For the network to stay in sync, nodes must agree on which new block is valid, a process called consensus. Proof of work and proof of stake are the two most common consensus mechanisms, and both make cheating expensive rather than impossible. Once enough of the network accepts a block, it becomes part of the shared history. This is how thousands of strangers who do not trust each other can still agree on one set of balances.
Public and private blockchains
Public blockchains like Bitcoin and Ethereum are open, so anyone can read them, submit transactions, or run a node. Private or permissioned blockchains restrict who can participate and are used by some businesses for supply-chain or record-keeping projects. Public chains prioritize openness and censorship resistance, while private chains prioritize control and speed. Most of the crypto market runs on public, permissionless chains.
Imagine a shared spreadsheet copied onto 10,000 computers. To fake a payment, you would need to change your row and then convince a majority of those 10,000 machines to accept the altered copy at the same time. On a large public blockchain, doing that would cost more than any likely reward, which is what keeps the record honest.
Key takeaways
- A blockchain is a shared ledger stored and verified by many computers at once.
- Blocks are linked by hashes, so altering old data breaks the chain and is easy to detect.
- Consensus mechanisms let untrusting participants agree on one valid history.
- Public chains are open to everyone; private chains restrict participation.
- Decentralization is what makes the ledger hard to censor or rewrite.
Common mistakes
- Believing blockchains are literally unhackable rather than simply expensive to attack.
- Assuming everything on a blockchain is private when most public chains are fully transparent.
- Confusing a specific coin with the general blockchain technology behind it.
FAQ
Is a blockchain the same as a cryptocurrency?
No. A blockchain is the underlying ledger, while a cryptocurrency is a token that is recorded and transferred on it.
Can data on a blockchain be deleted?
Generally no, because the design is append-only, so correcting an error usually means adding a new offsetting transaction rather than erasing the old one.