Mining & Nodes

Ch 14 · Mining as a Fair Lottery

Mining & Nodes progress: chapter 3 of 8
You chose: Mining & Nodes

Mining as a Fair Lottery

Hook

Someone has to assemble the next block and broadcast it. Bitcoin does not appoint a committee for that job. It runs an open lottery where work and luck decide who proposes the next page—under rules everyone can check.

One idea

Mining is competing to propose the next valid block by expending energy on trial-and-error search (proof of work); the winner earns a block reward (new subsidy + fees), but miners propose history—they do not get to rewrite Bitcoin’s rules.

Plain walkthrough

Propose the next page. A miner gathers unconfirmed transactions (preferring fee-rate), builds a candidate block that links to the previous tip, and searches for a rare numerical result that meets the network’s current difficulty target. That search is mostly repeated hashing—cheap to verify, expensive to win. Finding a valid proof is like drawing a winning ticket in a lottery weighted by how much honest work you contributed.

Energy + luck, not a boardroom. More computing work raises your chance of finding the next block, but does not guarantee it. Luck still sits in the draw. The point of the cost is not “waste for its own sake”; it makes proposing blocks expensive to fake and cheap for everyone else to verify. Anyone can attempt to mine; nobody needs permission from a central operator.

Reward = subsidy + fees. When a miner finds a valid block, they include a special transaction that pays themselves: the block subsidy (new bitcoin issued on a fixed schedule—Chapter 16) plus the fees left over in the transactions they included (Chapter 10 and 12). That payout is why miners compete. As subsidy declines over decades, fees matter more for the incentive—still mechanism, not a price prediction.

Miners propose ≠ miners run Bitcoin. A miner can suggest a block. The network only extends the chain if the block follows the rules: no invented coins beyond the schedule, no double-spends, valid proofs, and so on. Full nodes (Chapter 15) check those rules and ignore invalid blocks. Hashpower cannot turn invalid into valid any more than yelling louder rewrites arithmetic. If two valid tips compete briefly, nodes follow the chain with the most accumulated work; orphans happen and resolve without a help desk.

A short picture after the mechanism. Many printers race to produce the next notarized page. The first to show a hard-to-find seal gets paid for that page. Every librarian in the network still checks the seal and the page contents against the rulebook—and shelves only pages that pass. The printers are miners; the librarians are nodes.

Difficulty adjusts. About every two weeks (2016 blocks), the protocol retunes how hard the lottery is so that blocks keep averaging ~10 minutes even as total mining work rises or falls. You do not need the formula today—only the purpose: steady heartbeat, open competition.

Watch-outs

  • “Miners control Bitcoin” — They compete to propose blocks. Rules and acceptance live with the node network and consensus, not with whoever won the last lottery.
  • Mining ≠ investing advice — This chapter explains a mechanism. It does not say whether anyone should mine or buy hardware.
  • Pool vs solo — Many miners share work in pools for steadier payouts. Pool operators are not “the Federal Reserve of Bitcoin”; invalid blocks still get rejected.
  • Energy debates belong with nuance — Chapter 19 touches myths. Here: proof of work ties proposals to real cost so verification stays cheap.
  • Your home wallet is not mining — Sending and receiving do not require you to mine.

You now can…

  • Explain mining as an open lottery of energy plus luck to propose the next block.
  • Separate block reward (subsidy + fees) from “miners invent the rules.”
  • Carry a clean handoff into nodes verify (Ch 15).

What next?

Ebook: continue to Ch 15

Back one stepReturn to map