Progress pill
Mining, its operation, its industry and its challenges

Explanation of Mining

  • Mining explained: the puzzle analogy
  • Miners and their tools: mining
  • Difficulty adjustment
  • Evolution of Bitcoin mining machines

Mining explained: the puzzle analogy

To explain the concept of mining in a simplified way, a relevant analogy can be used: that of a puzzle. Just like a puzzle, mining is a complex task to perform, but easy to verify once completed. In the context of Bitcoin mining, miners strive to solve a complex digital puzzle as quickly as possible. The first miner to solve the puzzle presents their solution to the entire network, which can then easily verify its validity. This successful verification allows the miner to validate a new block and add it to the Bitcoin Timechain. In recognition of their work, which involves significant costs, the miner is rewarded with a certain number of bitcoins. This reward serves as a financial incentive for miners to continue their work of validating transactions and securing the Bitcoin network.
Initially in the Bitcoin network, the awarded reward was 50 bitcoins every ten minutes, parallel to the discovery of a block every ten minutes on average by miners. This reward undergoes a halving every 210,000 blocks, approximately every four years. This remuneration serves as a powerful incentive to encourage miners to participate in the mining process, despite its associated energy costs. Without a reward, the electricity-intensive mining would be abandoned, compromising the security and stability of the entire Bitcoin network. The current mining reward is twofold. On one hand, it includes the creation of new bitcoins, which has decreased from 50 bitcoins every ten minutes initially to 6.25 bitcoins today (2023). On the other hand, it includes transaction fees, also known as mining fees, from the transactions that the miner chooses to include in their block. When a Bitcoin transaction is made, a transaction fee is paid. These fees function as a sort of auction where users indicate how much they are willing to pay to have their transaction included in the next block. To maximize their reward, miners, acting in their own interest, select the most profitable transactions to include in their block, taking into account the limited available space. Thus, the mining reward consists of both the generation of new bitcoins and transaction fees, ensuring a continuous incentive for miners and ensuring the longevity and security of the Bitcoin network.

Miners and their tools: mining

The mining process involves finding a valid hash that is acceptable to the Bitcoin network. Once calculated and found, this hash is irreversible, similar to potatoes being turned into mashed potatoes. It verifies a specific function without the possibility of reversal. Miners, in competition, use machines to calculate these hashes. Although it is theoretically possible to find this hash manually, the complexity of the operation makes this option unfeasible. Computers, capable of performing these calculations quickly, are therefore used, consuming a significant amount of electricity.
Initially, the CPU era dominated, where miners used their personal computers for Bitcoin mining. The discovery of the advantages of GPUs (graphics cards) for this task marked a turning point, substantially increasing the hashrate and reducing energy consumption. The progress did not stop there, with the subsequent introduction of FPGAs (field-programmable gate arrays). FPGAs served as a platform for the development of application-specific integrated circuits (ASICs).
ASICs are chips, comparable to a CPU chip; however, they are developed to perform only one specific type of calculation in the most efficient way possible. In other words, a CPU is capable of performing a multitude of different types of calculations without being particularly optimized for any one type, whereas an ASIC is designed to perform only one type of calculation, but very efficiently. In the case of Bitcoin ASICs, they are specifically designed for calculating the SHA-256 algorithm. Nowadays, miners exclusively use ASICs dedicated to this operation, optimized to test the maximum number of combinations with the smallest possible energy consumption and as quickly as possible. These computers, which are specifically designed for Bitcoin mining, serve as a tangible testament to the continuous evolution and increasing specialization of the Bitcoin mining industry. This constant evolution reflects the intrinsic dynamics of Bitcoin, where a difficulty adjustment ensures the production of a block every ten minutes despite the exponential increase in mining capacity.
To illustrate the intensity of this process, consider a typical miner capable of achieving 14 TeraHash per second, or 14 trillion attempts every second to find the correct hash. At the scale of the Bitcoin network, we now reach approximately 300 ExaHash per second, highlighting the collective power mobilized in Bitcoin mining.

Difficulty adjustment

Difficulty adjustment is a crucial mechanism in the operation of the Bitcoin network, ensuring that blocks are mined at an average rate of every 10 minutes. This duration is an average because the mining process is actually a game of probabilities, similar to rolling dice in the hope of getting a number lower than the number defined by the difficulty. Every 2016 blocks, the network adjusts the mining difficulty based on the average time required to mine the previous blocks. If the average time is greater than 10 minutes, the difficulty is reduced, and conversely, if the average time is lower, the difficulty is increased. This adjustment mechanism ensures that the mining time for new blocks remains constant over time, regardless of the number of miners or the network's overall computing power. This is why the Bitcoin Blockchain is also called the Timechain.
  • Example from China: The case of China perfectly illustrates this difficulty in adjusting the mechanism. With abundant and inexpensive energy, China became the primary global hub for Bitcoin mining. In 2021, the country suddenly banned Bitcoin mining on its territory, resulting in a massive drop in the global Bitcoin network's hashrate, around 50%. This rapid decrease in mining power could have severely disrupted the Bitcoin network by increasing the average block time for mining. However, the difficulty adjustment mechanism kicked in, reducing the mining difficulty to ensure that the block mining frequency remains at an average of 10 minutes. This case demonstrates the efficiency and resilience of Bitcoin's difficulty adjustment mechanism, which ensures the stability and predictability of the network, even in the face of sudden and significant changes in the global mining landscape.

Evolution of Bitcoin mining machines

Regarding the evolution of Bitcoin mining machines, it is important to note that the context is more oriented towards a traditional business model. Miners earn their income from block validation, a task with a relatively low success rate. The current model in use, the Antminer S9, although an older model launched around 2016, is still in circulation in the second-hand market, trading for around €100 to €200. However, the price of mining machines varies based on the value of Bitcoin, and a newer model, the Antminer S19, is currently estimated to be around € 3,000.
Faced with constant technological advancements in the mining field, professionals must strategically position themselves. The mining industry is subject to continuous innovation, as demonstrated by the recent release of the J version of the S19 and the anticipated release of the S19 XP, which offer significantly higher mining capabilities. Furthermore, improvements are not only related to the raw performance of the machines. For example, the new S19 XP model features a liquid cooling system, a technical modification that enables a significant improvement in energy efficiency. Although innovation remains a constant, future efficiency gains will likely be smaller compared to those observed so far, due to reaching a certain threshold of technological innovation.
In conclusion, the Bitcoin mining industry continues to adapt and develop, and industry players must anticipate diminishing efficiency gains in the future and adjust their strategies accordingly. Future technological advancements, although still present, are likely to occur on a smaller scale, reflecting the growing maturity of the sector.
Quiz
Quiz1/5
What is the main advantage of ASICs in the context of Bitcoin mining?