Bitcoin Mining Labby Coinovo

Mining Lab · Coinovo Academy · How mining works

How mining works

Guessing until it fits

Intro 9 min 6 cards 18 questions

Objectives

It is guessed, not calculated

Miners look for a number that, together with the block contents, yields a fingerprint below a threshold. That number is called the nonce. There is no way to work it out: you try, trillions of times a second, until a result is small enough.

Why that is useful at all

The effort is the point. Anyone who wants to append a block must have spent work that cannot be short-cut. Anyone who wanted to forge history would have to redo that work for every block after it, faster than the rest of the world.

The name for this is proof of work.

Whoever hits it writes the block

The first with a matching number appends the next block and gets two things for it: the block reward in newly created coins, and all the fees of the payments in that block.

Roughly every ten minutes

The network aims for one block every ten minutes. Sometimes it takes two minutes, sometimes forty. It is a random process: every attempt has the same small chance, no matter how long the search has been running.

That is around 144 blocks a day.

The stake is electricity

The guessing runs on special machines that can do nothing but this one step. Their power consumption is the real stake. Whether it pays off depends on three numbers: the efficiency of the machine, the price of electricity and the yield per unit of computing power.

Full explanation

The three numbers, in real sizes

Efficiency is measured in joules per terahash. A good machine today sits at around 10 to 18, an older one at 30 and above. That sounds like a small difference and is a factor of two to three on the electricity bill.

The power price decides alongside it. In Hungary the household tariff is around 9 cents a kilowatt hour, in Germany and Austria several times that (current tariffs on the calculator pages). The same machine is therefore viable in one country and subsidised in another, without anything about it changing.

The yield per terahash is the third, and the only one nobody controls: it follows from the price, the reward and the size of the whole network. Historically it falls, because the network grows faster than the price.

Why the sums almost always come out too kindly

Four items are regularly missing from manufacturers' example calculations. The machine does not run 100 percent of the time but more like 95 to 98. Power supplies and fans fail. The pool keeps one to four percent. And the difficulty keeps rising during the machine's life.

Each of those costs a few percent; together they easily come to twenty. A calculation that works out at plus five percent does not actually work out.

So the figure to rely on is not the profit but the break-even power price: the price up to which the machine carries itself at all. If your own tariff is well below it, the sums survive a few unpleasant surprises.

What a miner does not do

It does not decide which payments are valid, the nodes check that. It cannot create coins out of nothing beyond the reward. A block that breaks the rules is rejected by the network, and the work was for nothing.

Glossary

Nonce
The number a miner varies until the fingerprint fits.
Proof of work
Evidence that computing work was done.
Block reward
Newly created coins for whoever finds a block.
ASIC
Special chip that can only do this one computing step.

Further reading

This module comes with 18 explained questions. They live in the app, along with your progress and the credit for finishing.
The Coinovo appA reason to come back every dayTasks, shifts and the daily hunt, plus an account that shows what has added up.Daily tasksYour own accountCosts nothingStart now

More modules

What Bitcoin isMoney without a middlemanHashrateHow much guessing goes onThe difficultyWhy the rhythm holdsThe halvingThe reward shrinksWallets and keysWhat you never hand overFeesYou pay for spaceMining poolsTogether instead of aloneSpotting fraudThe same tricks every timeTokenomics, taken apartBitcoin as the worked example, projects under testEthereum and smart contractsA shared computer with a fee meterProof of stake and stakingCollateral instead of electricityStablecoinsStable as long as the backing holdsDeFi: financial services made of codeSwap, borrow, lend without a bankThe Lightning NetworkBitcoin instantly, with conditionsSpotting and stopping scamsCheck first, then signAI and cryptoA tool, not an oracleInvesting with a planRules instead of gut feelingRunning mining as a businessWhat a machine really costsSelf-custody in practiceFrom the first key to inheritanceTax and bookkeepingWhat the tax office wants to seeHow the network really worksNodes, mempool, forksRisk and position sizeHow not to lose everything