CRYPTO SCHOOL · LESSON

1.16 Bitcoin Mining

Estimated learning time: 13 minutes

1.16 Bitcoin Mining

Mining is the process through which specialised participants compete to produce valid proof-of-work blocks. Mining is not simply 'creating Bitcoin'; it is a consensus mechanism that makes rewriting recent transaction history economically difficult while distributing block production across participants.

Learning objectives

  • Proof of work
  • Hash-rate
  • Mining difficulty
  • Block subsidy
  • Transaction fees
  • Energy and hardware economics

Why this matters

Mining is frequently described in vague terms like "solving puzzles to create Bitcoin." This lesson replaces that vagueness with the actual mechanism, which matters directly for understanding both network security and miner economics.

Core teaching

A miner assembles a candidate block from pending transactions, then repeatedly computes a cryptographic hash of the block's header (each attempt changing a small value called a nonce) searching for a hash below a network-wide difficulty target. This search is intentionally expensive and essentially random — there is no shortcut, only trying many attempts per second. The first miner to find a valid hash broadcasts the block; other nodes independently verify it before accepting it, meaning the miner does not unilaterally decide which transactions are valid.

A successful miner earns the block subsidy (newly issued BTC, per Lesson 1.15's schedule) plus the transaction fees from everything included in that block. Mining pools let many participants combine computational power and share this revenue proportionally, because individually most miners would find a valid block too rarely to earn steady income. Whether mining is profitable depends on BTC's price, current difficulty, and local electricity cost — which is why mining activity shifts geographically toward cheaper power as difficulty rises.

BIG 5 CAPITAL · LEVEL 1 LEARNING VISUALFrom candidate block to verified, rewarded blockAssemble candidate blockFrom pending transactionsHash attemptsVary the nonce, search for ahash below the difficultytargetValid hash foundEssentially random - noshortcutBroadcast blockSent to the networkNodes verifyCheck every ruleindependentlyBlock acceptedMiner earns subsidy + fees from includedtransactionsBlock rejectedAny rule violation - miner earns nothing foritThe miner competes to find the hash. Nodes - notthe miner - decide which transactions areactually valid.

Worked example

A mining pool combines the computational power of many individual miners, who share the pool's earnings in proportion to the work they contribute, because on their own most individual miners would find blocks too rarely to earn a steady income. When a pool successfully mines a block, it earns the current block subsidy plus the transaction fees from the transactions included in that block, and this combined revenue — not "free money creation" — is what covers electricity and hardware costs.

Whether mining is profitable at any given moment depends on BTC's market price, the current difficulty level, and local electricity costs, which is why mining profitability shifts geographically toward regions with cheaper power as difficulty rises.

Deeper analysis

Mining combines transaction selection, block construction and proof-of-work. A miner does not decide unilaterally which transactions become valid; nodes still verify the resulting block. The miner is competing to find a block header that satisfies the difficulty target. Once found, the block is broadcast and other nodes check it. This distinction is crucial because it separates block production from rule enforcement.

Mining economics connect protocol design to real-world incentives. Revenue comes from the block subsidy and transaction fees, while costs include electricity, hardware, cooling, financing and operations. A change in BTC price or electricity cost can change profitability even if the protocol itself does not change. Mining therefore provides a useful case study in how economic incentives support a technical security mechanism without guaranteeing that every participant earns a profit.

Common misconceptions

  • Mining is competitive block production, not a central mint.
  • Higher hash rate improves a miner's probability of finding a block but does not guarantee success.
  • Energy consumption is part of the security model and also a subject of legitimate debate.

Application lab

Look up the approximate current Bitcoin block subsidy (it decreases at each halving) and the approximate average transaction fees per block from a reputable source. Explain which of the two — subsidy or fees — currently makes up the larger share of miner revenue, and why that balance is expected to shift over the coming decades.

Practical exercise

Write two sentences explaining why a miner finding a valid block does not mean that miner unilaterally decided which transactions were valid — tie your explanation back to the role of independently validating nodes from earlier in this lesson.

Knowledge check

Question: Why doesn't finding a valid block give a miner the power to unilaterally decide which transactions are valid?

Model answer: Other nodes on the network independently verify a newly broadcast block against the protocol's consensus rules before accepting it; a block containing invalid transactions would be rejected by those nodes regardless of the mining power behind it.

Case study prompt

Find the approximate current Bitcoin block subsidy and average transaction fees per block from a reputable source. Determine which currently makes up the larger share of miner revenue, and explain why that balance is expected to shift over the coming decades.

Key takeaways

  • Mining is a competitive, verifiable search for a valid block hash, not "solving puzzles" in the abstract
  • Miners propose blocks; independent nodes still verify them
  • Miner revenue is block subsidy plus transaction fees
  • Mining profitability depends on price, difficulty and electricity cost together

Further exploration

Lesson 1.17 looks at what happens to that subsidy over time — the halving schedule that periodically cuts new issuance, and why it changes miner economics directly.

Register to save your progress, complete assessments and build your Crypto School profile.