Mining
What is crypto mining?
Mining is not digital gold panning; it is a security service. Miners bundle transactions into blocks and pay with electricity and hardware for the right to add them. In return they receive new coins and transaction fees.
The problem mining solves
A network without a central administrator must agree on one version of the ledger. Without a cost, anyone could publish endless contradictory versions for free.
Proof-of-work makes publishing expensive: proposing a block requires demonstrable computation that is hard to produce and trivial to verify.
What a miner technically does
The miner collects unconfirmed transactions from the mempool, builds a candidate block and tries billions of nonces per second until the block hash falls below a threshold.
The first valid hash is broadcast; other nodes verify it in milliseconds and build on top. The losers' work is discarded — the price of the auction.
- Hashrate: attempts per second
- Difficulty: the threshold, retargeted every ~2016 blocks
- Block reward: new coins plus transaction fees
Why difficulty adjusts
Bitcoin targets one block every ten minutes. More hashrate means faster blocks, so the protocol raises difficulty; less hashrate lowers it again.
This feedback loop is why mining never becomes structurally easy: efficiency gains are competed away.
Mining versus staking
Mining commits energy and hardware; staking commits capital in the form of coins. Both make attacks expensive, but cost structures and risks differ.
Bitcoin, Litecoin and Dogecoin use proof-of-work. Ethereum, Solana and Cardano use proof-of-stake.
Vanliga frågor
Can I still mine bitcoin at home?
Not profitably with a normal PC or GPU: bitcoin needs specialised ASICs. Small home setups usually only add up when you reuse the heat or have free surplus power.
Does mining waste energy?
Mining consumes energy by design; whether that is waste depends on the source and the alternative. A growing share runs on curtailed wind and solar, flared gas or surplus hydro.
What happens when all bitcoin is mined?
Around 2140 issuance stops and miners live on fees alone. The transition happens gradually through the halvings.
Läs vidare
Proof-of-work versus proof-of-stake
Two ways to secure a network. What they cost, which attacks they deter and why the debate is rarely about technology.
Calculating mining returns
The maths behind mining: hashprice, J/TH efficiency, power price, pool fee and depreciation — with a worked example.
Mining pools explained
How pools remove variance, which payout models exist and what to check when choosing a pool.