How Blockchain Actually Works

Blocks, fingerprints, and how thousands of strangers agree on the truth.

The last article introduced the blockchain as a shared ledger nobody controls. Now let's open the hood: what actually happens when you send cryptocurrency, and why the record can't be quietly rewritten afterward.

Transactions first

Everything starts with a transaction: "Address A sends 0.5 BTC to Address B." Your wallet software signs it with your private key — a mathematical proof that you're authorized — and broadcasts it to the network. Within seconds, thousands of computers (called nodes) have seen it.

Each node checks the basics independently: is the signature valid? Does Address A actually have 0.5 BTC to send? Has this coin already been spent somewhere else? Invalid transactions are simply dropped. Nobody votes on them; they just fail the checks.

Bundled into blocks

Valid transactions don't go straight into the permanent record. They're gathered into a block — a bundle of a few thousand transactions, created roughly every ten minutes on Bitcoin (faster on other networks).

Before a block is accepted, it gets a hash: a fingerprint computed from all the transactions inside it plus the fingerprint of the previous block. Change one character of one transaction and the fingerprint changes completely. This is what links blocks into a chain — each block's fingerprint is baked into the next one.

How thousands of computers agree

Here's the clever part. Who gets to write the next block? It can't be first-come-first-served — that would centralize power in whoever shouts loudest. Different networks solve this differently (Mining vs. Staking covers both), but the principle is the same: writing a block has to cost something, so spamming the network with fake blocks is expensive and pointless.

Once a valid block is proposed, nodes check it against the same rules as transactions. If it passes, they append it to their copy of the ledger and move on. The network converges on one shared history because following the rules is the only strategy that pays.

Why history can't be rewritten

Suppose you wanted to alter a transaction from a year ago — say, to un-spend coins you already sent. You'd have to:

  1. Recompute the fingerprint of that old block (easy).
  2. Recompute the fingerprint of every block after it, because each one contains the previous fingerprint (expensive — and on networks like Bitcoin, each recomputation competes against the entire network's ongoing work).
  3. Convince the majority of the network to accept your rewritten chain over the one they've all been building on (practically impossible at scale).

The deeper a transaction is buried, the more work sits on top of it. After a handful of confirmations, reversing it would cost more than anyone could gain. This is why merchants wait for a few confirmations before treating a large payment as final.

What "decentralized" really means in practice

No headquarters, no CEO, no off switch. If one country's nodes go offline, the network keeps running on the rest. Upgrades happen only when the people running the software choose to adopt them — which is why changes are slow and contentious, and also why the rules are hard for any government or company to capture.

The tradeoff: there's no customer support, no fraud department, and no one to call when something goes wrong. The network enforces its rules perfectly and sympathizes with no one. That's the deal — and it's worth understanding before choosing a wallet.

Previous: What Is Cryptocurrency, Really? Next read: Crypto Wallets: Hot, Cold, and Custodial