Overview
Bitcoin mining is the computational process by which new blocks are added to the blockchain. Miners repeatedly hash a candidate block header — varying the nonce and other fields — until they find a hash value that falls below the current difficulty target. This proof-of-work process secures the network, orders transactions, and controls the issuance of new bitcoin.
The Mining Process
┌────────────────────────────────────────┐
│ Candidate Block Header │
│ ┌──────────┬──────────┬────────────┐ │
│ │ Version │Prev Hash │Merkle Root │ │
│ ├──────────┼──────────┼────────────┤ │
│ │Timestamp │ Bits │ Nonce │ │← Vary this
│ └──────────┴──────────┴────────────┘ │
│ │ │
│ SHA-256(SHA-256()) │
│ │ │
│ ▼ │
│ Hash < Target? YES → Valid block! │
│ NO → Change nonce │
└────────────────────────────────────────┘
Block Rewards
The miner who successfully finds a valid block earns two types of reward:
- Block subsidy: Newly created bitcoin, currently 3.125 BTC per block (after the April 2024 halving). This amount halves approximately every four years.
- Transaction fees: The sum of all fees from transactions included in the block.
Together, these rewards incentivize miners to invest in hardware and electricity to secure the network.
Energy and Security
Mining deliberately requires energy expenditure, which serves as the physical anchor for Bitcoin's security. The cumulative energy spent on mining creates a cost to rewriting the blockchain's history, making confirmed transactions increasingly irreversible with each subsequent block.
Common Misconceptions
Mining does not involve "solving complex math problems" in the academic sense. It is a brute-force search for a hash output below a threshold — essentially a high-speed guessing game. There is no shortcut or clever algorithm; the only way to mine faster is to hash faster.