Cointime

Download App
iOS & Android

Bitcoin Mining, Explained

Validated Individual Expert

Many people new to crypto wonder:

  • How do new bitcoins (BTC) come into existence?
  • How do bitcoins move from place to place?
  • What makes Bitcoin secure?

What if we told you the answer to all three questions was the same: Bitcoin mining.

Mining is an essential, but often misunderstood concept in cryptocurrency.

This article covers:

  • What Bitcoin mining is and how it works
  • The environmental impacts of mining
  • What the future may hold for Bitcoin mining

If you’re new to Bitcoin, you’ll want to read our article “Bitcoin, Explained” first to get a better understanding of the original cryptocurrency.

What is bitcoin mining?

The bitcoin network is a blockchain, a linked series of data “blocks” with each block containing a set of bitcoin transactions. All over the world, thousands of Bitcoin miners race to be the first to complete a complex cryptographic “puzzle” using specialized computer equipment.

The math problems the miners solve during each puzzle period (or “block”) enable the release of new bitcoins and the confirmation of transactions on the network.

Every time a miner successfully verifies a block of bitcoin transactions, they’re rewarded with a certain amount of bitcoin, an incentive for miners to do their work and keep the bitcoin network secure.

Once a transaction is validated by a Bitcoin miner, the block is added to the blockchain, and the update is processed across the network. This process takes place about every ten minutes.

In short, mining is how:

  • new bitcoin comes into existence
  • transactions happen on Bitcoin’s proof of work blockchain
  • the network stays secure

Here’s how the process works in more detail:

  • When a new transaction is made on the Bitcoin network, it is broadcast to all nodes in the network.
  • These nodes then race to validate the transaction by solving a complex computational puzzle. The first node to solve the puzzle adds the transaction to the blockchain and broadcasts the solution to the rest of the network.
  • Other nodes in the network check the solution to verify that it is correct. If it is, they add the transaction to their own copy of the blockchain and move on to the next puzzle.
  • As a reward for their efforts, the miner who solved the puzzle is awarded a certain number of bitcoins. This helps to incentivize miners to contribute their computational power to the network.
  • The difficulty of the puzzles is adjusted over time to ensure that it takes an average of about 10 minutes to add a new block of transactions to the blockchain. This helps keep the rate at which new bitcoins are created steady and makes it more difficult for attackers to manipulate the network.

What is a bitcoin miner?

Miners are computers, and they are almost always an ASIC miner.

ASIC stands for Application-Specific Integrated Circuit, and while there are a variety of ASICs created for different purposes, these are made just to mine bitcoin.

While standard consumer devices like CPUs and GPUs were used in the past to mine bitcoin, those systems don’t offer the computational power needed to solve the hashing puzzle at the current level of mining difficulty.

Miners on the Bitcoin blockchain earn bitcoin in two ways:

  • Block rewards. When a miner is the first to solve the validation riddle, they earn BTC and add the next block of data to the chain.
  • Transaction fees. In return for validating a transaction, miners earn a percentage of the network fee.

Bitcoin mining creates new bitcoins

There will only ever be 21 million bitcoins in existence.

The final bitcoin is expected to be mined in 2140, and this scarcity is where the comparison to gold comes from. Once the last bitcoin is mined, that’s all there will ever be, making bitcoin a deflationary asset.

The very first Bitcoin miners received 50 BTC as a block reward. However, the next halving will be in 2024, further reducing the block reward to 3.125 BTC.

As you can imagine, Bitcoin mining has become big business. There are mining “farms,” also known as hashing facilities, all over the world, and a quick online image search will show the scale of these operations.

Gone are the days of a single Bitcoin user mining on their PC; computational power is king, and more is better when it comes to processing transactions, winning the block reward, and securing the blockchain.

Mining pools offer an alternative for regular users to participate in mining, without needing to purchase warehouses full of ASIC mining rigs. In a mining pool, individual miners lend their computing power to a mining farm through a shared server.

In exchange for their computing power, miners in the pool receive a proportional share of the block reward when their pool solves the hash.

Bitcoin mining secures the blockchain

The Bitcoin blockchain is an open-source, decentralized ledger; essentially, a record book of all the transactions that have occurred on the blockchain. When a new block is added to the chain, all of the nodes receive the new copy of the blockchain.

These transactions are validated using a Proof of Work consensus mechanism, meaning all of the nodes on the blockchain have competed to solve a puzzle, then agreed that the transaction details are correct.

This is how the Bitcoin blockchain is secured. If a hacker tries to manipulate the blockchain, the data they try to enter into the ledger won’t match up with the data that other nodes have, flagging it as a fraud.

Even if a hacker had enough computing power to go back far enough in the blockchain to rewrite a transaction, it would be so costly and time consuming that it likely wouldn’t be profitable.

This type of attack is called a 51% attack, and it would cost billions of dollars to attempt. Even if successful, an attack of this type would essentially destroy the blockchain by eroding the trust in the ledger, and the price of bitcoin would likely fall to zero, making the entire thing pointless.

This is the superpower of the Proof of Work consensus mechanism–it takes a lot of time, money and energy to validate transactions, and this work is self-protecting since it’s almost impossible to undo.

The security of the blockchain increases as more miners join the network, since more transactions can be processed and there are more nodes available to share greater consensus.

The more transactions that are processed and validated, the larger the amount of data that a criminal would have to “rewind” to hack the network.

Bitcoin mining and energy use

There’s been a lot of controversy over the energy usage of cryptocurrency in general, and a lot of that has been directed at mining in particular.

Concerns about e-waste from mining equipment and of excess electricity consumption, and the fossil fuels that create that electricity, have generated intense debate around this topic.

At the time of this writing (November 2022), Bitcoin operations expend just over 100 Terawatt hours (TWh) of energy each year. As a point of reference, that’s about the same amount of energy that is required to power all of the refrigerators in the United States.

For a global comparison, air conditioning alone uses 2,199 TWh per year.

The need for greater computing power, and the hefty price tag that comes with the equipment and electricity needed to run these operations, has resulted in innovative expansions into crypto mining.

For example, many mining operations have moved to countries with an abundance of electricity, such as Canada and Iceland, that would otherwise go unused.

The oil and gas industry has become involved in mining, since they often have power that would be wasted, and the cryptocurrency mining industry gets more than half of its power from sustainable energy sources.

In this way, miners could potentially make the power grid more efficient by harnessing non-traditional energy sources.

Many critics ask why Bitcoin doesn’t just move to a more energy efficient consensus mechanism like Proof of Stake. This is a complex question, but in short, Proof of Work has some distinct advantages over Proof of Stake with regard to the purpose of bitcoin.

BTC is a store of value and part of what maintains this value is the difficulty in creating new bitcoins and the inability of malicious actors to hack or even game the system in an effort to monopolize control of the currency.

The Proof of Work consensus mechanism provides unique benefits in this regard, making it optimal for a cryptocurrency like bitcoin that could be a long-term store of value.

The future of Bitcoin mining

What happens when all 21 million bitcoins have been mined?

As you’ve read, miners are responsible for a lot more than just creating new bitcoins. They’ll still validate transactions, and collectively secure the entire Bitcoin network.

Miners won’t receive block rewards anymore, but they will still receive transaction fees. The validation of the network will continue to be an extremely important function.

If there weren’t miners to validate new copies of the ledger, the blockchain would likely fall under attack, rendering bitcoin as a store of value useless.

Even after all bitcoins are created, mining is still necessary to maintain the value of the bitcoin cryptocurrency and process ongoing transactions on the network.

Mining is essential to the Proof of Work consensus mechanism, and miners have proven that they are committed to finding new ways to power their operations, and subsequently, Bitcoin.

There’s another way to get bitcoin though, and it doesn’t involve setting up a mining rig.

Buying BTC may be a more straightforward way of adding it to your holdings, and if you choose to use a dollar cost averaging method, you can buy bitcoin incrementally, over a long period of time, instead of trying to time the market.

If you’ve never bought BTC before, you’d need what’s called an “on-ramp” — a way of exchanging fiat currency for crypto. Then, you can transfer your crypto to a non-custodial wallet, so you have complete control over your funds.

Comments

All Comments

Recommended for you

  • SEC and CFTC Update Crypto FAQs: Token Buybacks and Network Upgrades Not Necessarily Securities, CFTC Allows On-Chain Record Keeping

    On September 26, the U.S. Securities and Exchange Commission's Division of Corporation Finance released an updated FAQ on September 25, clarifying that token buybacks, network upgrades, and marketing statements do not automatically make crypto assets securities. SEC staff noted that announcing a buyback plan for an operational crypto network does not, by itself, make the associated tokens investment contracts; however, if the network is not operational and the issuer promotes the buyback as a source of returns for holders, it may be a different case. The FAQ also clarified that services provided once a crypto system is operational, aimed at securing, maintaining, improving, or enhancing the system or its functions, or promoting network effects, do not constitute managerial efforts under the Howey test. Marketing existing uses of the network typically does not create profit expectations, and statements about future functionalities do not either, provided there is no promotion of profit potential. This update reiterates that conclusions will still heavily depend on specific cases and are based on the SEC's interpretative release regarding the applicability of securities laws to crypto assets issued in March this year. On the same day, the Commodity Futures Trading Commission updated its crypto FAQ, allowing futures firms and clearinghouses to invest customer funds in tokenized versions of previously permitted assets, provided they meet investment and custody requirements. CFTC staff also indicated that regulated companies may use blockchain for record keeping but must still be able to provide records if the blockchain or its block explorer is non-operational. These updates come as the CLARITY Act failed to advance in the Senate, with regulators continuing to push forward with the crypto regulatory framework based on existing laws.

  • BTC Surpasses $84,000

    Market data shows that BTC has surpassed $84,000, currently priced at $84,004, with a 24-hour decline of 0.25%. The market is experiencing significant volatility, so please ensure proper risk management.

  • BTC Falls Below $84,000

    Market data shows that BTC has fallen below $84,000, currently priced at $83,988.06, with a 24-hour increase of 0.52%. The market is experiencing significant volatility, so please ensure proper risk management.

  • ETH Falls Below $2700

    Market data shows that ETH has fallen below $2700, currently priced at $2699.7, with a 24-hour increase of 1.95%. The market is experiencing significant volatility, so please ensure proper risk management.

  • BTC Surpasses $85,000

    Market data shows that BTC has surpassed $85,000, currently priced at $85,000.02, with a 24-hour increase of 1.72%. The market is highly volatile, so please ensure proper risk management.

  • ETH Surpasses $2700

    Market data shows that ETH has surpassed $2700, currently priced at $2700.14, with a 24-hour increase of 1.23%. The market is experiencing significant fluctuations, so please ensure proper risk management.

  • Yushu Technology's Wang Xingxing: Key to Breakthrough in Embodied Intelligence Lies in Solving Millimeter-Level Error Issues

    On September 25, the 5th Global Digital Trade Expo was held in Hangzhou, where Wang Xingxing, founder of Yushu Technology, delivered a keynote speech titled "From Machinery to Intelligence - The Evolutionary Theory of Embodied Future." Wang stated that the embodied intelligence industry may soon experience a critical breakthrough similar to that of ChatGPT. He believes that when robots can complete approximately 80% of tasks through voice interaction and embodied intelligence capabilities in about 80% of unfamiliar environments, the industry will enter a critical phase of large-scale application. He pointed out that the ability for robots to understand and execute specific tasks based on voice commands has already made breakthroughs last year, but the industry still faces a core technological bottleneck, namely the precise matching issue between artificial intelligence models and the real physical world. Wang noted that currently, robots still have a few millimeters of error during actual operations, which limits their stability and reliability in complex environments. "In the future, whoever can solve this problem will fundamentally resolve the issues with robots."

  • Swissquote Analyst Warns AI Narrative is a Core Pillar of US Stocks, Potential Break Could Trigger Significant Correction

    On September 25, Ipek Ozkardeskaya, a senior analyst at Swissquote Bank, stated that broad market indices and retirement funds are now deeply tied to the AI wave, with technology stocks accounting for about 40% of the S&P 500 index. She pointed out that the market capitalization weight of just three chip manufacturers makes up over 25% of the MSCI Emerging Markets Index. Ozkardeskaya indicated that AI has become the 'core pillar' of the market, and this pillar 'must not show any cracks.' She believes that, in the short term, the US stock market will continue to be supported by seasonal factors, and the current market uptrend may extend until the end of the year. However, she also warned that the worst-case scenario would be a shake in the investment logic surrounding AI, which could undermine market confidence in the AI narrative, potentially triggering a significant market correction.

  • U.S. Stock Index Futures Turn Positive; Chip Stocks Rally in After-Hours Trading

    On September 25, U.S. stock index futures rose into positive territory, with Nasdaq futures up 0.36%. In after-hours trading, storage and semiconductor stocks saw widespread gains, with AMD, Intel, and SanDisk all rising by 2%.

  • NEAR Partners with Ondo to Launch 20 Tokenized US Stocks and ETFs

    On September 25, according to Cryptonews, NEAR Protocol and Ondo Finance have launched trading for tokenized US stocks and ETFs on near.com, with an initial offering of 20 assets including Nvidia, Tesla, Apple, Microsoft, Amazon, as well as SPY and QQQ. Eligible users can deposit using over 30 supported stablecoins or other crypto assets, with NEAR Intents serving as the cross-chain distribution layer, allowing similar assets to be routed to connected wallets and DeFi protocols in the future. Purchases are settled in USDon, which is backed 1:1 by US dollars in brokerage accounts, and completed via atomic swaps. This product is not available to US persons; the overall Ondo platform has launched over 100 assets, with NEAR initially offering only one-fifth of that.