Blockchain 101
Understand the foundational technology behind cryptocurrency — what a blockchain is, how blocks and transactions work, the role of nodes, and why distributed ledgers are revolutionary.
The basics
What Is a Blockchain?
A blockchain is a special type of database shared across many computers. Instead of one company controlling the data (like a bank controls your account balance), thousands of computers around the world each keep an identical copy. When someone makes a transaction, every computer updates its copy at the same time. This makes the data extremely difficult to tamper with — you would need to hack thousands of computers simultaneously.
Think of it like a shared Google Doc that everyone can read but nobody can secretly edit. Every change is recorded permanently, and everyone can see the full history. The key difference is that no single person or company owns the document — it belongs to everyone on the network.
Blocks, Chains, and Transactions
Transactions are grouped together into "blocks" — like pages in a book. Each block is linked to the previous one using a special code called a "hash," creating a chain of blocks (hence "blockchain"). This linking means if someone tried to change a past transaction, every block after it would break, making fraud immediately detectable.
Real-World Analogy
Imagine a notebook where every page has a unique stamp that includes information from the previous page. If someone ripped out a page and replaced it, the stamps would no longer match — everyone would instantly know the book was tampered with. That is essentially how a blockchain works.
Key Takeaways
- A blockchain is a shared database that no single entity controls
- Transactions are grouped into blocks, and blocks are linked together in a chain
- The chain structure makes it nearly impossible to alter past records
- Thousands of computers (nodes) each hold an identical copy of the data
Going deeper
How Blocks Are Created and Validated
When you send cryptocurrency, your transaction is broadcast to the network and enters a waiting area called the mempool. Validators (or miners, depending on the consensus mechanism) select transactions from the mempool, verify they are legitimate (checking signatures, sufficient balances, and proper formatting), and package them into a candidate block.
Each block header contains: the hash of the previous block (creating the chain link), a Merkle root (a single hash summarizing all transactions in the block), a timestamp, and consensus-specific data like a nonce (for Proof of Work) or validator signature (for Proof of Stake). Once the block is finalized, it is broadcast to all nodes for verification and permanent storage.
The Role of Nodes
- Full nodes store the entire blockchain history and independently verify every transaction and block
- Light nodes (SPV nodes) store only block headers and request specific transaction proofs from full nodes when needed
- Archive nodes store all historical state data, useful for querying past balances and contract states
- Validator nodes actively participate in consensus by proposing or attesting to new blocks
Why Running a Node Matters
Running your own full node is the most trustless way to interact with a blockchain. Instead of relying on someone else's node to tell you your balance or verify a transaction, your own node independently verifies everything. This is the "don't trust, verify" ethos of crypto.
The Distributed Ledger Advantage
Traditional databases have a single point of failure — if the server goes down or is compromised, the data can be lost or manipulated. A distributed ledger eliminates this by replicating data across thousands of independent nodes. For an attacker to alter the ledger, they would need to simultaneously compromise a majority of nodes, which is economically and practically infeasible on large networks like Bitcoin or Ethereum.
Key Takeaways
- Transactions wait in the mempool before being packaged into blocks by validators
- Block headers contain the previous block's hash, a Merkle root, and consensus data
- Different node types serve different purposes — full, light, archive, and validator
- Distribution across thousands of nodes eliminates single points of failure
Under the hood
Merkle Trees and State Management
Merkle trees are the data structure that makes efficient blockchain verification possible. In a Merkle tree, every leaf node is the hash of a transaction, and every non-leaf node is the hash of its two children. The root of the tree (the Merkle root) is a single hash that summarizes all transactions in the block. This allows any single transaction to be verified with O(log n) proof size — you only need to provide the sibling hashes along the path from the transaction to the root, not the entire block.
Ethereum extends this concept with a Modified Merkle Patricia Trie for state management. Unlike Bitcoin's UTXO model (where the state is implicit in unspent transaction outputs), Ethereum maintains an explicit state trie containing every account's balance, nonce, storage, and code hash. This state trie is updated with every block, and the state root is included in the block header, enabling light clients to verify any account's state with a Merkle proof.
Block Propagation and Orphan Blocks
Block propagation time is a critical parameter in blockchain design. If two validators produce valid blocks at nearly the same time (a race condition), the network temporarily has two competing chain tips. The consensus protocol must resolve this — in Proof of Work, the longest chain rule applies, and the shorter fork becomes an orphan (or uncle) block. In Proof of Stake with finality gadgets (like Ethereum's Casper FFG), epochs are finalized so that reverting a finalized block would require an attacker to destroy at least one-third of all staked ether.
State Bloat: A Growing Challenge
As blockchains accumulate state over time, full node requirements grow. Ethereum's state grows with every new account and smart contract, and ethereum.org currently cites EIP-7870 hardware guidance of a 4 TB NVMe SSD for a full node. Solutions like state expiry, new state tree designs (Verkle trees, or the binary tree proposed in draft EIP-7864, either replacing Merkle Patricia Tries), and stateless clients are active areas of research to keep full node operation accessible.
UTXO vs. Account-Based Models
- UTXO (Bitcoin) — transactions consume unspent outputs and create new ones; parallel transaction processing is easier, but smart contract logic is limited
- Account-based (Ethereum) — accounts have balances and nonces; smart contracts are more expressive, but sequential nonce-based ordering creates bottlenecks
- Hybrid approaches — Cardano uses Extended UTXO (eUTXO) to combine UTXO parallelism with smart contract capabilities
- Solana uses an account model with parallel transaction execution via its Sealevel runtime, resolving accounts that a transaction will touch ahead of time
Key Takeaways
- Merkle trees enable O(log n) verification of any transaction within a block
- Ethereum uses a Modified Merkle Patricia Trie for explicit state management
- Block propagation timing affects fork rates and consensus security
- UTXO and account-based models have different trade-offs for parallelism and expressiveness
- State bloat is one of the most pressing long-term scalability challenges
Related Content
Related Coins
2026 Trends
More Topics
Browse all 189 topicsConsensus Mechanisms
Learn how blockchain networks agree on a single source of truth — from Proof of Work mining to Proof of Stake validation, Delegated PoS, and Proof of Authority.
Crypto Wallets
Everything about storing cryptocurrency safely — hot vs. cold wallets, custodial vs. non-custodial, seed phrases, hardware wallets, and best practices for protecting your assets.
DeFi Basics
Explore decentralized finance — how DEXs, lending protocols, yield farming, and liquidity pools work, and what TVL really means.
Mining & Staking
How mining works in Proof of Work, staking mechanics in Proof of Stake, validator requirements, rewards, and the economics behind securing blockchain networks.
Smart Contracts
What smart contracts are, how they work, writing in Solidity, the importance of audits, and how self-executing code powers DeFi, NFTs, and DAOs.
Trading Basics
Learn the fundamentals of crypto trading — exchanges, trading pairs, order types, market and limit orders, fees, and how to avoid common beginner mistakes.
Security 101
Protect your crypto — learn about 2FA, hardware wallets, seed phrase storage, common scams, and operational security practices that keep your assets safe.
Regulation & Taxes
Navigate the complex and evolving landscape of crypto regulation — KYC/AML requirements, SEC enforcement, MiCA in Europe, tax treatment of crypto transactions, and DeFi-specific tax challenges.
References & further reading
- primaryBitcoin whitepaper (Nakamoto, 2008)
The paper that introduced the first working blockchain.
archived copy ↗ - primaryNIST — Blockchain Technology Overview (NISTIR 8202)
A vendor-neutral technical overview from the US standards body.
archived copy ↗ - primaryethereum.org — Intro to Ethereum
How a general-purpose blockchain extends Bitcoin's design.
archived copy ↗ - primaryethereum.org - Statelessness, state expiry and history expiry
Roadmap page for the state-growth solutions mentioned in the State Bloat callout.
- primaryEIP-7864 - Ethereum state using a unified binary tree
Draft proposal for a binary state tree intended to replace the hexary patricia trie.