Almost every description of Bitcoin mining is wrong in the same way. It says miners solve complex mathematical problems, which suggests effort accumulating toward an answer, cleverness paying off, and a machine getting closer to a solution the longer it works. None of that is true. What miners do is mechanically simple, and the simplicity is the point.
What is a miner actually computing?
A block header is 80 bytes. It contains six fields: the version, the hash of the previous block, the Merkle root of the block’s transactions, a timestamp, the compact difficulty target, and a 4-byte nonce. Mining is hashing that header twice with SHA-256, reading the result as a number, and checking whether it is below the target.
If it is not — and it almost never is — the miner changes something and tries again. The nonce gives only about four billion attempts, which modern hardware exhausts in a fraction of a second, so miners also vary the timestamp and, more importantly, the coinbase transaction. Changing the coinbase changes the Merkle root, which yields an entirely fresh space of headers to search. This is why the coinbase carries an arbitrary data field at all.
There is no partial progress. Hashing is designed so that the output of one attempt tells you nothing about the next, which means every attempt is an independent draw with the same tiny probability of success. A machine that has been hashing for a week is exactly as close to the next block as one switched on a second ago.
Why is it a lottery and not a race?
Because attempts are independent and the per-attempt probability is constant, block discovery is a Poisson process. The practical consequences of that are routinely misread.
Block intervals are not ten minutes. Ten minutes is the mean of an exponential distribution, so the single most likely interval is close to zero, and intervals of an hour occur regularly without anything being wrong. A run of six fast blocks followed by a forty-minute gap is ordinary variance, not a network event.
Hash rate buys tickets, not speed. A miner with one percent of the network wins about one block in a hundred, but may go months without one, and the variance is brutal for anyone small. This single fact explains the entire pool industry. Pools exist to convert a lottery with a rare, enormous payout into a steady income, which is a financial service rather than a technical one.
What does a mining pool actually do?
The pool, not the individual miner, decides what goes in the block. It builds the candidate — selecting transactions, setting the coinbase output to its own address — and hands out the header template to its participants. Each participant hashes that template and reports back any header meeting a much easier target than the network’s.
Those are shares. A share is a valid proof of work against the pool’s internal target, useless to the network but statistically proportional to the work done, which is how the pool measures each participant’s contribution. When a share happens to also clear the real network target, the pool has found a block and pays out according to its accounting scheme.
The consequence is a concentration that raw hash rate figures hide. Hashing is widely distributed across the world; the authority to choose what goes into a block is not, because that authority sits with whoever builds the template. A handful of pools construct most blocks. That is the relevant centralisation question for censorship, and it is a different question from where the machines are.
Stratum V2 exists largely to address this. Among other changes, it allows participants to build their own block templates while still pooling reward variance, which separates the financial service from the editorial power. Its adoption is partial, and whether it becomes the norm is unsettled.
Where does the money come from?
Two sources, in one transaction. The coinbase transaction has no inputs and creates the block’s reward: the subsidy, currently 3.125 BTC and halving every 210,000 blocks, plus the sum of the fees paid by every transaction included. Its output cannot be spent for 100 blocks, a maturity rule that prevents a reorganisation from invalidating coins that have already moved on.
Because fees are part of the same payment, a miner assembling a block is solving a packing problem: maximise total fee revenue within the four million weight-unit limit. Transactions are therefore ranked by fee per unit of size, not by fee paid, which is why a large transaction paying a big absolute fee can wait behind a small one paying less.
Mining is also one of the few businesses whose revenue is denominated in one asset and whose costs are denominated in another. Hardware and electricity are paid in local currency; the reward arrives in bitcoin. That mismatch, not the hash rate, is what determines which operations survive a drawdown.
What happens when two miners win at once?
Nothing unusual, and the handling is worth understanding because it is where confirmations get their meaning.
If two miners find a valid block at the same height within a few seconds of each other, both blocks propagate and the network temporarily holds two versions of the chain. Nodes keep whichever they saw first and continue building on it. The tie breaks at the next block: whichever branch extends first has more accumulated work, every node switches to it, and the other block becomes stale. Its transactions return to mempools and are mined again shortly after. Its coinbase reward is simply lost, which is a real and occasionally very expensive outcome for the miner who produced it.
This is why propagation speed is an economic variable rather than an engineering detail. A miner whose blocks reach the network slowly loses more ties, and that loss is an implicit tax proportional to their disadvantage. Left alone it is a centralising pressure, because a large well-connected operation suffers it less. Compact block relay addresses this directly: rather than sending a block’s full contents, a node sends short identifiers for transactions the recipient almost certainly already has in its mempool, cutting the bytes on the wire by an order of magnitude and shrinking the window in which a tie can form.
It also explains confirmations. One confirmation means a transaction is in a block that could still lose a tie. Each additional block makes displacement require redoing more work, and the difficulty of that grows quickly, which is why waiting is a judgement about value at risk rather than a fixed rule.
What mining does not do
Mining does not validate the rules on your behalf. Miners choose an ordering of transactions that are already valid; they cannot make an invalid transaction valid. A block paying itself a larger subsidy, or spending coins without a valid signature, is rejected by every full node regardless of how much work it carries. The separation between who orders history and who decides what is permissible is the heart of the design, and it is why running a node matters more than most people are told.
Mining is also not a vote on protocol changes. Miners signal readiness for some upgrades, and that signalling is real, but the rules they are signalling about are enforced by the nodes that accept or reject their blocks.
And it is not a cheap way to acquire coins. Can you still mine bitcoin at home? works through why the answer is almost always no, and why the reason is your electricity price rather than the difficulty.
Check it yourself
Mining is unusual in that the arithmetic can be reproduced by hand on a laptop, even though producing a winning header cannot. With a synced node:
# The template a miner would be handed, including fees and the weight limit.
bitcoin-cli getblocktemplate '{"rules":["segwit"]}' | head -40
# A real block's header fields and the coinbase transaction it created.
bitcoin-cli getblock "$(bitcoin-cli getblockhash 900000)" 2
The exercise worth doing is taking the six header fields of any block, serialising them, hashing twice with SHA-256, and confirming you reproduce the block hash exactly. It takes a few lines of code and it converts mining from a metaphor into something you have checked.
What remains uncertain
Whether template-building decentralises. Stratum V2 makes it possible for participants to choose their own transactions, and some pools now offer it. Whether enough hash power adopts it to change the concentration picture is an open empirical question, not a solved one.
What the industry looks like without a meaningful subsidy. Every account of post-subsidy mining, including the optimistic ones, rests on a fee market that has not yet had to carry the security budget alone. The honest position is that the equilibrium is unobserved.
How much of the energy profile is genuinely additional. Miners seek cheap, stranded and curtailed power, and the industry reports it as grid-beneficial. The sourcing data is largely self-reported and the methodology is contested, so the useful claim is narrower than either side’s headline.
Whether geographic distribution means what it appears to. Hash rate maps are built from pool-reported data, and pools can only see where their participants connect from. A proxy or a hosted deployment moves a machine on the map without moving it on the ground.