Mining

General Updated Feb 2026

What Is Mining?

Mining is the process by which new blocks are created and added to a Proof-of-Work blockchain. Miners compete to solve a cryptographic puzzle (finding a block hash below a target value), and the first miner to find a valid solution gets to broadcast the new block to the network and receive the block reward plus transaction fees. Mining is what secures Proof-of-Work blockchains — without miners, there would be no one to process transactions or prevent double-spending.

The term “mining” is a deliberate analogy to gold mining. Just as gold miners expend real-world energy and resources to extract gold from the earth, cryptocurrency miners expend computational energy to extract new coins from the protocol. Both processes require upfront capital investment (mining hardware vs. mining equipment), ongoing operational costs (electricity vs. fuel), and the output rate is subject to difficulty (deeper veins vs. higher hash difficulty).

How Mining Works (Step by Step)

  1. Collect transactions: Miners gather pending transactions from the mempool (the pool of unconfirmed transactions waiting to be included in a block).
  2. Select transactions: The miner selects which transactions to include, typically prioritizing those with higher gas prices/fees to maximize revenue.
  3. Construct the block: The selected transactions are organized into a candidate block along with a reference to the previous block’s hash.
  4. Find the nonce: The miner repeatedly hashes the block header with different nonce values (and extra nonce in the coinbase transaction) until the resulting hash is below the target difficulty. This is brute-force computation — there is no shortcut.
  5. Broadcast the solution: Once a valid hash is found, the miner broadcasts the new block to the network.
  6. Validation: Other nodes verify the block (checking transactions, confirming the hash is valid, ensuring it chains correctly) and add it to their local chain.
  7. Reward: The miner receives the block reward (newly minted coins) plus all transaction fees from the included transactions.

The entire process for Bitcoin takes an average of 10 minutes per block (because the difficulty is adjusted to maintain this target). For any given hash computation, the probability of finding a valid block is astronomically low — miners perform quadrillions of hashes per second, and it still takes ~10 minutes on average.

Mining Hardware Evolution

Mining hardware has evolved through several generations, each orders of magnitude more efficient than the last:

CPU Mining (2009-2010): In Bitcoin’s early days, mining was done with standard computer processors. Satoshi Nakamoto himself mined using a CPU. Network hash rate was measured in MH/s. Anyone with a laptop could mine Bitcoin profitably.

GPU Mining (2010-2013): GPU mining was pioneered by Laszlo Hanyecz (famous for paying 10,000 BTC for two pizzas) and others who discovered that GPUs could perform the SHA-256 hash function hundreds of times faster than CPUs due to their parallel processing architecture. Mining farms of GPUs became the standard. This era also saw the emergence of mining pool software like P2Pool.

FPGA Mining (2011-2013): Field-Programmable Gate Arrays offered better energy efficiency than GPUs but were expensive and limited in flexibility. They were a transitional technology, used by sophisticated miners but never achieving mass adoption.

ASIC Mining (2013-present): Application-Specific Integrated Circuits are chips designed to do exactly one thing — compute SHA-256 hashes. They cannot do anything else, but they do it faster and more efficiently than any other hardware. The first Bitcoin ASICs (Avalon, Butterfly Labs) produced ~60 GH/s. Modern ASICs produce 150-250 TH/s — a 2,500x improvement in a decade. ASIC mining made CPU and GPU mining for Bitcoin economically obsolete virtually overnight.

Mining Pools

As network difficulty increased, individual miners had diminishing chances of finding a block solo. A miner with 0.001% of the network hash rate would, on average, find a block once every ~70 days — a long time to wait for uncertain revenue. Mining pools solve this problem by combining hash power from many miners and splitting rewards proportionally.

How pools work: Miners contribute their hash rate to the pool. The pool assigns miners “work” (partial block headers to hash). When any miner in the pool finds a valid block, the reward is distributed among all contributors based on their share of the total hash rate contributed.

Payment methods:

  • Pay Per Share (PPS): Miners receive a fixed payout for each share submitted, regardless of whether the pool finds a block. The pool operator absorbs the variance risk.
  • Pay Per Last N Shares (PPLNS): Payouts are based on shares submitted during the last N shares before a block is found. This aligns miner rewards more closely with pool performance.
  • Solo mining: Not technically a pool — the miner keeps 100% of block rewards but receives nothing between blocks.

Major Bitcoin mining pools include Foundry USA, AntPool, F2Pool, ViaBTC, and Binance Pool. Collectively, the top 5 pools control approximately 60-70% of Bitcoin’s hash rate, which raises ongoing concerns about mining centralization.

The Halving

Bitcoin has a built-in mechanism called the halving that reduces the block reward by 50% approximately every four years (every 210,000 blocks). The schedule is:

  • 2009-2012: 50 BTC per block
  • 2012-2016: 25 BTC per block
  • 2016-2020: 12.5 BTC per block
  • 2020-2024: 6.25 BTC per block
  • 2024-2028: 3.125 BTC per block

The halving is significant because it reduces the rate of new Bitcoin supply issuance, creating a deflationary supply schedule. The total supply of Bitcoin is capped at 21 million, and the last Bitcoin will be mined around the year 2140. Historically, halvings have preceded major bull runs (though correlation does not imply causation).

For miners, each halving immediately cuts revenue in half. Only miners with efficient hardware and low electricity costs survive post-halving periods. This periodic culling of inefficient miners is a feature, not a bug — it drives innovation in mining efficiency.

Energy Consumption Debate

Bitcoin mining consumes significant electricity — estimates range from 100-150 TWh per year, comparable to the electricity consumption of mid-sized countries. Critics argue this is wasteful and environmentally harmful. Defenders counter that:

  • A significant and growing portion of Bitcoin mining uses renewable energy (hydroelectric in Sino, geothermal in Iceland, flare gas in Texas).
  • Mining incentivizes the development of stranded energy sources that would otherwise be wasted.
  • The energy cost is the fundamental security guarantee — without it, Bitcoin would be as easy to attack as any centralized database.
  • Traditional financial systems (banking, data centers, printing, physical security) also consume enormous amounts of energy.

The debate is ongoing and nuanced. What is clear is that mining’s energy consumption is not going away — it is the price of a trustless, permissionless, globally accessible monetary system.

Common Pitfalls

  • Solo mining on Bitcoin: Unless you have exahash-level hardware, solo mining Bitcoin is virtually guaranteed to never produce a block. Always use a pool.
  • Ignoring electricity costs: Mining hardware that is unprofitable at current electricity rates will lose money every day it operates. Always calculate your break-even electricity price before purchasing.
  • Buying ASICs without checking difficulty trends: If difficulty is rising faster than Bitcoin’s price, your ASIC’s profitability window shrinks rapidly.
  • Centralization risk: Mining pool centralization (a few pools controlling most hash rate) is a real concern. Consider supporting smaller pools or P2Pool.
  • Confusing mining with staking: Ethereum’s move to Proof-of-Stake eliminated mining. You can no longer mine ETH — you can only stake it.