Crypto Foundations · How the Blockchain Works

Blocks, Transactions and the Chain

Back to Crypto Foundations

What You'll Learn

  • What a transaction actually contains
  • Why transactions are grouped into "blocks" instead of recorded one at a time
  • How linking blocks together into a chain protects the history

The Big Idea

Let me show you something reassuring: a blockchain is exactly what it sounds like. It is a chain of blocks, where each block is a bundle of transactions, and each new block is cryptographically linked to the one before it — so the history cannot be quietly rewritten.

Let's Break It Down

First, let's talk about what a transaction actually is. A transaction on Bitcoin records who is sending funds, who is receiving them, and how much. Think of it a bit like a line in a bank statement — except this line becomes part of a public, shared record, instead of a private record held by a single bank.

Now, you might expect the network to add each transaction one at a time. It does not. Instead, the network bundles a whole batch of transactions together into a block, roughly every ten minutes. Grouping transactions this way makes the entire system far more efficient than confirming each one in complete isolation.

Here is the key part, so read this slowly. Every new block includes a unique cryptographic fingerprint of the block that came right before it. If someone changes even one character of an old transaction, that block's fingerprint changes completely — and that broken fingerprint breaks the link to every single block that came after it.

To secretly rewrite old history, someone would have to redo the fingerprinting for every block since that point, faster than the rest of the network is adding brand-new ones. In practice, once enough blocks have been added on top, this becomes effectively impossible.

Real Example

Here is a picture that should make this click. Imagine a tall stack of signed and dated pages, where each new page includes a short summary of everything written on the page directly below it. Now imagine someone tries to sneak in an edit on page 12. Page 13's summary would no longer match, so page 14's would not match either, and so on, all the way up to the top of the stack. Anyone flipping through the pages could see immediately that something did not line up.

Why It Matters

This chaining is exactly what gives Bitcoin's history its tamper-evidence. The deeper a transaction gets buried under later blocks, the more mathematically impractical it becomes to alter it. This is also why many services wait for several "confirmations," meaning new blocks added on top, before treating a transaction as truly final. I will walk you through confirmations directly in a later lesson.

Common Mistake

Many beginners picture the blockchain as one single, long list of individual transactions. I want to correct that picture: it is really a chain of blocks, and each block is itself a bundle of many transactions. That grouping is exactly what makes the fingerprinting-and-linking trick work so efficiently.

Quick Check

What happens to a block's fingerprint if someone tries to secretly edit an old transaction inside it?

Key Takeaways

  • A transaction records a sender, a receiver, and an amount.
  • Transactions are grouped into blocks roughly every ten minutes rather than recorded individually.
  • Each block links to the one before it via a cryptographic fingerprint, so old history becomes progressively harder to alter as more blocks are added on top.

Finished reading?

Mark this lesson as complete to track your progress.

Chat with us