Skip to main content

Blockchain Explained: How Distributed Ledger Technology Works

Blockchain has become one of the most hyped yet least understood technologies in finance. People use the word to describe everything from cryptocurrency to tracking medical records to verifying supply chains. But what is blockchain actually, and how does it work?

At its core, blockchain is remarkably simple: it's a shared record book that is copied across many computers, making it extremely difficult to fake, alter, or erase. The innovation isn't in any single component—cryptography existed for decades, and databases existed for longer. The innovation is in combining these pieces so that many independent parties can agree on a shared truth without trusting each other or any central authority.

Understanding blockchain is essential to understanding cryptocurrency, but also important to understanding why blockchain technology has become relevant across industries from supply chain management to digital identity verification.

Quick definition: A blockchain is a distributed database that maintains a continuously growing list of records (blocks) linked using cryptography, where each block contains transaction data and a cryptographic hash of the previous block, creating an immutable chain of records.

Key Takeaways

  • Distributed consensus: Blockchain allows thousands of independent computers to maintain identical records without any single authority controlling the data
  • Immutability through linking: Each block references the previous block's unique fingerprint (hash), making it computationally infeasible to alter historical records without detection
  • Transparency: All transactions are visible to network participants, creating transparency while pseudonymity protects privacy
  • No single point of failure: Traditional databases have centralized servers that can fail, be hacked, or be shut down; blockchains eliminate this vulnerability through distribution
  • Cryptographic security: Every transaction is secured by mathematical algorithms so complex that breaking them would require more computing power than currently exists
  • The 51% attack: The only way to successfully fake blockchain transactions is controlling more than half the network's computing power simultaneously—impractical for large networks

The Village Record Book Analogy

Imagine a small village where everyone needs to track who owes what to whom. In the old system, the village has one person—the Record Keeper—who maintains the official ledger in a leather-bound notebook locked in the town hall.

Problems with this system:

  • If the Record Keeper dies, the village loses the records
  • If the Record Keeper is corrupt, they can falsify entries
  • If the town hall burns down, all records are destroyed
  • Nobody else can verify the Record Keeper's work
  • The Record Keeper might refuse to record transactions they don't like
  • Someone could break in and alter past entries

Now imagine a different system: every adult in the village gets an identical copy of the record book. When someone wants to make a transaction, they announce it to the village. Everyone examines it:

  • Does the sender actually have the money to send?
  • Is the transaction formatted correctly?
  • Has this transaction already been recorded?

Once most villagers agree it's valid, everyone writes it down in their copy of the record book, in the same order, at the same time. The transaction is now permanent across hundreds of copies.

Advantages:

  • No single point of failure (if one person's copy burns, hundreds of others still exist)
  • Impossible to forge (you'd need to change the book in hundreds of homes simultaneously)
  • Transparent (anyone can read any version and verify consistency)
  • Trustless (you don't need to trust the Record Keeper; the mathematics and consensus prove legitimacy)
  • Permanent (erasing history would require changing thousands of documents)

This is blockchain.

The Technical Structure: How Blocks Actually Work

A blockchain is literally a chain of blocks. Each block contains:

1. Transaction data A list of all transactions that occurred during the time period the block covers. For Bitcoin, this is transactions that happened in roughly the last 10 minutes. For Ethereum, it's transactions in roughly the last 12 seconds.

2. A timestamp The exact time the block was created, recorded in a standardized format.

3. A nonce (number used once) A random number that miners adjust while performing computational work to secure the block. More on this later.

4. The previous block's hash Here's where the "chain" comes into play. A block's hash is a unique 64-character fingerprint generated by running the block's data through a cryptographic algorithm (SHA-256 for Bitcoin). This fingerprint is mathematically derived from the data—change even one character, and the hash changes completely.

Each new block includes the previous block's hash. This creates an unbreakable chain:

Block 500:
Transactions: [Alice→Bob: 1 BTC]
Timestamp: 2023-03-15 10:00:00
Hash: 4F3A7C2E...B9D1 (derived from block content)
Previous Hash: 8K2Q5P1R...V7X3 (Block 499's hash)

Block 501:
Transactions: [Carol→Dave: 2 BTC]
Timestamp: 2023-03-15 10:10:00
Hash: 7H9K3M5L...W2Y6 (derived from this block's content)
Previous Hash: 4F3A7C2E...B9D1 (Block 500's hash)

Block 502:
Transactions: [Eve→Frank: 0.5 BTC]
Timestamp: 2023-03-15 10:20:00
Hash: 9D7E2Q4R...X8Z1 (derived from this block's content)
Previous Hash: 7H9K3M5L...W2Y6 (Block 501's hash)

Why this matters: If someone tries to alter Block 500—changing "Alice→Bob: 1 BTC" to "Alice→Bob: 100 BTC"—the block's hash changes. But Block 501 already recorded Block 500's original hash. This mismatch is immediately detected. To hide the fraud, you'd need to re-hash Block 500, update Block 501's previous hash field, recalculate Block 501's hash, update Block 502's previous hash field, and so on for every block in the chain going forward. If this chain has 10,000 blocks, you'd need to recalculate 10,000 hashes—and you'd need to do this simultaneously on thousands of computers running the blockchain.

Decentralization: Why Distribution Matters

In traditional databases (like a bank's), data lives on centralized servers controlled by one organization. The database administrator can:

  • Change transaction records
  • Delete transactions
  • Refuse to process transactions from certain people
  • Shut down the database
  • Be hacked or corrupted

In a blockchain, copies of the entire ledger exist on thousands of independent computers simultaneously. To successfully fake a transaction, you'd need to:

  1. Change your copy of the blockchain
  2. Simultaneously hack and change thousands of other copies
  3. Do this faster than new legitimate blocks are being added
  4. Maintain this control indefinitely

Numeric example: Bitcoin's blockchain is maintained by approximately 10,000 independent full nodes (computers running the complete blockchain). Let's say an attacker wanted to fake a transaction where they took control of 100 Bitcoin that actually belongs to someone else. They would need to:

  • Control 5,100+ of these nodes (51% to force consensus on a false history)
  • Purchase or hack equipment worth billions of dollars
  • Operate these nodes in diverse geographic locations
  • Do this before the honest network adds more blocks
  • Maintain this majority in perpetuity (if they lose the majority even briefly, the true history reasserts itself)

Cost analysis: Bitcoin nodes require relatively modest hardware (~$500-2,000 per node) but the networking, electricity, and coordination costs for controlling 5,100 nodes would exceed $25-50 billion for the hardware alone, plus tens of millions in operating costs. It's theoretically possible but economically irrational—you'd spend far more money attempting the attack than you could steal.

How Consensus Actually Works

Three main consensus mechanisms exist:

Proof of Work (Bitcoin, Ethereum pre-2022)

Miners compete to solve a difficult mathematical puzzle. The first to solve it gets to add the next block and receives a reward (currently 6.25 BTC per block on Bitcoin). The puzzle is deliberately difficult—it requires millions of computational attempts.

Why this works: The puzzle adjusts in difficulty so blocks are solved roughly every 10 minutes on Bitcoin, regardless of how many miners exist. If you want to forge a block, you must solve the puzzle faster than honest miners are solving legitimate blocks. If you control <50% of the network's computing power, you'll always fall behind.

Proof of Stake (Ethereum post-2022, Cardano)

Instead of computational work, validators are chosen based on how many coins they hold and are willing to "stake" (lock up as collateral). If they validate fraudulent transactions, they lose their stake. This incentivizes honest behavior without requiring massive electrical expenditure.

Delegated Proof of Stake (EOS, Cosmos)

Token holders vote for a smaller number of trusted validators. It's faster but slightly more centralized.

Real-World Blockchain Properties

Property #1: Immutability

Once a transaction is recorded in a block and additional blocks are built on top of it, reversing that transaction becomes exponentially harder with each new block added. After 10 blocks (roughly 100 minutes on Bitcoin), the transaction is practically irreversible.

But be careful: Immutability doesn't mean "perfect"—it means "very hard to undo." The blockchain doesn't prevent bad transactions from being recorded; it just prevents them from being silently erased. If you send your Bitcoin to a scammer, the blockchain will permanently record that mistake.

Property #2: Transparency

Every participant can see every transaction ever recorded on the blockchain. This transparency creates accountability and makes fraud easier to detect.

But be careful: Transparency doesn't mean "privacy"—transactions are pseudonymous. Your wallet address might be publicly visible, but it's not inherently linked to your identity (unless you registered that address with a regulated exchange using your real name).

Property #3: Decentralization

No single entity controls the blockchain. There's no "off switch," no central authority that can shut it down or refuse transactions.

But be careful: Decentralization exists on a spectrum. Bitcoin is highly decentralized. Some blockchain projects are more centralized, with more power held by early investors, developers, or major token holders. And even on Bitcoin, most people interact with centralized intermediaries (exchanges) to buy and sell.

The Technical Depth: Hashing and Cryptography

Cryptographic hashing is the mathematical foundation of blockchain. A hash function:

  • Takes any amount of input data
  • Produces a fixed-length output (256 bits for SHA-256)
  • Is deterministic (same input always produces same output)
  • Is collision-resistant (two different inputs producing same output is computationally impossible)
  • Has avalanche effect (tiny changes produce completely different outputs)

Practical example:

Input: "This is Block 500"
Hash: 4F3A7C2E91D5B7K9M2Q5P1R8V7X3A6H2

Input: "This is Block 500 - Modified"
Hash: 7H9K3M5L2D7E4Q9R6S8T3U1V9W2Y6Z

Just one word changed, and the hash is completely different. This property makes it impossible to secretly alter historical transactions—the hash would immediately mismatch all subsequent blocks.

The Blockchain Ledger in Visual Form

Real-World Examples: Where Blockchains Solve Real Problems

Supply Chain Tracking (Walmart): Walmart uses blockchain to track food safety. When contamination is discovered in lettuce, instead of destroying all lettuce in supermarkets nationwide, they can trace it to specific farms and specific harvest dates. This reduces waste, saves money, and protects consumers.

Digital Identity (Estonia): Estonia uses blockchain for digital identity verification, allowing citizens to prove identity and sign documents digitally without a central database vulnerable to hacking.

Land Registry (Georgia): Georgia's government records land ownership on a blockchain, preventing corruption and making property ownership disputes resolvable through immutable records.

Cross-border Payments (SWIFT replacement experiments): Major banks are experimenting with blockchains for international payments, potentially reducing settlement times from days to minutes.

Common Mistakes About Blockchain

Mistake #1: "Blockchain is only for cryptocurrency"

Blockchain is a data structure technology applicable anywhere you need:

  • Multiple parties to agree on a shared truth
  • An immutable audit trail
  • No central authority
  • Transparency combined with pseudonymity

It's been applied to medical records, voting systems, academic credentials, intellectual property, supply chains, and many other domains.

Mistake #2: "Blockchain is unhackable"

Blockchains are very difficult to hack at scale, but they're not impossible:

  • 51% attacks (controlling majority network power) can fork the chain
  • Individual wallets can be hacked if private keys are stolen
  • Smart contracts (programs running on blockchains) have code vulnerabilities
  • User error (forgetting private keys, entering wrong addresses) results in permanent loss

Mistake #3: "All blockchains are decentralized"

Some blockchain projects are controlled by:

  • Small groups of founders with large token holdings
  • Corporations maintaining most nodes
  • Regulatory requirements forcing centralization

True decentralization is a spectrum, and many projects marketed as "blockchain" are actually centralized databases with blockchain-like features.

Mistake #4: "Blockchain will replace all databases"

Blockchains are slower and more energy-intensive than centralized databases. They excel when multiple distrustful parties need to agree on shared truth. They're inefficient for single-party record-keeping. You don't need blockchain to store your email—but you might need it to record property ownership across 100 countries.

FAQ: Understanding Blockchain Technology

Q1: What's the difference between blockchain and a distributed database?

A: Distributed databases (like those used in cloud computing) replicate data across multiple servers for reliability and speed. Blockchains also distribute data but add cryptographic linking and consensus mechanisms to create an immutable, append-only ledger. Distributed databases can be altered by administrators; blockchains create records that cannot be secretly changed.

Q2: How does blockchain prevent someone from faking transaction data when creating a block?

A: Blockchain doesn't prevent people from creating fraudulent transactions. It prevents fraudulent transactions from being accepted by the network. The consensus mechanism (Proof of Work, Proof of Stake, etc.) requires the network to agree a transaction is valid. A node that broadcasts a transaction using Bitcoin it doesn't actually own will have that transaction rejected by the network because other nodes verify the sender actually has the Bitcoin to send.

Q3: If blockchain is immutable, what happens when errors occur?

A: This is blockchain's weakness in practice. If someone sends Bitcoin to the wrong address, that transaction is permanent—there's no reverse button. When the DAO hack occurred in 2016 (Ethereum's smart contract had a vulnerability exploited for ~$50 million in losses), developers had to perform a "hard fork"—basically creating a new version of the blockchain that reverted those transactions. This solved the problem but revealed that blockchain immutability has limits when the community decides otherwise.

Q4: Can governments shut down blockchain?

A: Not easily. Governments can ban crypto exchanges, make cryptocurrency illegal in their jurisdiction, or arrest people using it. But they cannot shut down the blockchain itself because it runs on thousands of independent computers worldwide. A government could disconnect its citizens from the internet, but that's not practical. Bitcoin and Ethereum have survived 15+ years of government skepticism and have not been shut down.

Q5: What does "51% attack" actually mean?

A: If an attacker controls more than 50% of the network's computing power, they can forge the majority of new blocks and could theoretically:

  • Prevent certain transactions from being confirmed
  • Reverse recent transactions they made
  • Cause double-spending (spend the same Bitcoin twice)

However, even a 51% attacker cannot:

  • Steal Bitcoin they don't have the private keys for
  • Change past blocks (because older blocks are harder to fake than newer ones)
  • Create Bitcoin out of nothing (the protocol limits Bitcoin supply)

Once the attacker loses majority power, the honest network naturally reverts to the true chain.

Summary

Blockchain is a distributed database maintained by many independent computers that use cryptographic linking and consensus mechanisms to create immutable records without requiring a central authority. By distributing records across thousands of computers and requiring agreement before accepting new transactions, blockchain makes it practically impossible to forge or secretly alter historical data. The innovation isn't any single technology but the combination of existing technologies to solve a specific problem: how multiple distrustful parties can agree on shared truth without requiring trust in a single authority. This has applications far beyond cryptocurrency, though it's not universally superior to centralized databases—it's a tool suited to specific problems where decentralization and immutability matter more than speed and efficiency.

Deeper coverage in Book 18 — Cryptocurrency for Beginners.

Next

Next article: Bitcoin in Plain English