BR Academy
0%
How Bitcoin Works: Mining and the Network·Lesson 5 of 20·12 min

What Is Mining and Why Does It Exist?

The Concept

"Mining" is the most misunderstood word in Bitcoin. It has nothing to do with digging anything out of the ground — it's a competitive computing process that does two jobs at once: it decides which transactions get added to the blockchain next, and it issues new Bitcoin into circulation on the fixed schedule from the previous lesson.

Here's the plain-language model. At any moment, thousands of pending Bitcoin transactions are waiting to be confirmed (they sit in a waiting area called the mempool, covered in Module 4). Miners — specialized computers running mining software — gather a batch of these transactions into a candidate "block." Then they compete: every miner races to find a special number, called a nonce, that makes the block's data produce a cryptographic hash below a target value (the next lesson explains exactly how this hashing works). Whoever finds a winning nonce first gets to add their block to the chain, and in exchange receives the block's subsidy of newly issued Bitcoin, plus the transaction fees paid by everyone whose transactions were included.

Why does this matter? Because this competition is what replaces the trusted third party from Lesson 2. Instead of one company deciding which transactions are valid and in what order, mining lets anyone with the right equipment compete for that role — and the "winner" must still follow rules that every other participant in the network checks independently (covered in Lesson 8, nodes and consensus). If a miner tried to include an invalid transaction or pay themselves too many coins, the rest of the network would simply reject their block, wasting all the electricity they spent finding it. This is what makes mining a security mechanism, not just a lottery: it ties control over the ledger to real-world computational cost, and dishonesty is economically punished.

Who Actually Mines, in Practice

Modern Bitcoin mining is dominated by purpose-built machines called ASICs (Application-Specific Integrated Circuits) — chips designed to do nothing but compute the specific hash function Bitcoin uses, as fast and as cheaply (in electricity per guess) as physically possible. A single modern ASIC can attempt well over 100 trillion hashes per second. Because the reward is shared only by whoever finds the winning hash first, individual miners usually join a mining pool: a coordinating service that combines many machines' hash power, splits the work, and distributes the eventual reward proportionally to each participant's contribution. This doesn't change the security model — the pool still must produce a block that follows the rules, or every full node on the network rejects it regardless of how the reward was shared internally. It simply smooths out the unpredictable, lottery-like timing of solo mining into steadier, more frequent small payouts for individual participants.

Worked Example

Think of mining like a relay race with a twist: every runner (miner) is trying to find one specific winning number out of billions of possibilities, by guessing as fast as their hardware allows. The moment one runner finds it, they shout it out, and every other runner can instantly check — in a fraction of a second — whether that number is actually a winner. If it checks out, that runner "wins" the block, the race resets, and everyone starts guessing toward the next target.

This "easy to verify, hard to find" asymmetry is the heart of mining. Finding a winning nonce might take an entire global network of specialized machines about 10 minutes of combined guessing. But once found, any laptop can verify it's correct in milliseconds. That asymmetry — expensive to produce, cheap to check — is exactly what lets a decentralized network agree on a single history without a referee.

Now extend the analogy to mining pools: imagine 500 runners teaming up, splitting the racetrack into lanes so no two runners check the same numbers, and agreeing in advance to split the prize by how many numbers each runner personally checked. The team still only wins by producing one valid answer that every outside judge (a full node) independently accepts — teaming up changes how the prize is split, not whether the answer has to be genuinely correct.

Exercise

Answer true or false for each statement, based on this lesson:

  1. "Mining creates new transactions." — False. Mining confirms and orders transactions that already exist in the mempool; it doesn't invent them.
  2. "Anyone can become a miner." — True, in principle — mining software and hardware are available to anyone, though real-world competitiveness depends on hardware cost and electricity prices (a topic for later courses).
  3. "Mining requires trusting a central company." — False. The competition is open, and every block a miner produces is independently checked against the network's rules by full nodes, not approved by a company.
  4. "Joining a mining pool changes the rules a block must follow." — False. A pool only changes how the reward is split among participants; the resulting block still must pass every full node's independent validation.

Write one sentence explaining why statement 3 being false is the key difference between Bitcoin mining and a bank processing a transaction.

Recap

  • Mining is a competitive process where computers race to find a number that makes a candidate block's hash meet a target — the winner adds the block and earns new Bitcoin plus fees.
  • Mining replaces a trusted third party with "expensive to produce, cheap to verify" computation, a security model explored further in Lesson 6 (proof of work).
  • The next lesson explains exactly how the hashing puzzle is constructed, including what makes it provably hard to cheat.