BTC calculation difficulty
bitcoin is a kind of network virtual currency. Bitcoin network generates new bitcoin through "mining". In essence, the so-called "mining" is to use computers to solve a complex mathematical problem to ensure the consistency of bitcoin network distributed accounting system. Assuming that the mining computing power is 100 mhash / s and the total computing power is 4000 ghash / s per day, 3600 bitcoins can be g out every 24 hours
China's computing power has accounted for more than 75% of the world, that is to say, 75% of bitcoin in the world is made in China. How long does it take to dig a bitcoin
bitcoin used to be very good at "digging", which can be done by ordinary computer CPU, and it can automatically "solve problems" by downloading software. But with the rise of currency price, more and more people want to "solve the problem", and the difficulty of mining is also increasing. Now, the amount of computation needed to dig a bitcoin is beyond the reach of ordinary people. Ordinary computers can't afford it
instry insiders said that in 2014, 100 bitcoins were generated from 500000 yuan of electricity charge per day, and the cost of electricity charge alone was 5000 yuan per coin. But now, the same cost has more than doubled, and the electricity cost of each bitcoin is as high as 10000 yuan
in the generation mechanism of bitcoin, mining reward is decreasing. At the beginning of the birth of bitcoin, the miners could get 50 bitcoins for each page of the ledger, and then 25 bitcoins for each page of the ledger, decreasing in turn. It's like digging gold. At first, it's more and less. The time point at which each new reward is reced by half is called half bitcoin proction
assuming that the mining computing power is 100 mhash / s, the total computing power is 4000 ghash / s per day in 2014, and 3600 bitcoins are g out every 24 hours
now, we can understand the difficulty of bitcoin digging in this way, which is equivalent to 100 million dice throwing numbers less than 100 million and 50 million. Whoever throws them first will get the bookkeeping right. At this point, 1050 million is a hash value. The process of throwing dice is called hash collision. The unit of mining power is the number of hash collisions per second
at present, the computing power of bitcoin in the whole network has reached 2.36 billion hash collisions per second, which is equivalent to the number of water droplets in more than 200000 50 meter long standard swimming pools. But even with such a large amount of computing power, it will take about 10 minutes to hit a hash value that meets the requirements
in 2012, bitcoin's output was halved for the first time, and in July 2016, bitcoin's output was halved for the second time. At present, 12.5 bitcoins are awarded for recording one page of account book. The next halving will take place around 2020, and the total number of bitcoins will not increase by 2040, with a total of 21 million
Related videos: how long does it take to dig a bitcoin
1、 Mining principle
at the beginning, we could dig bitcoin with the computer CPU. The founder of bitcoin, Nakamoto Tsung, g out the world's first creation block with his computer CPU. However, the era of CPU mining has long passed, and now bitcoin mining is the era of ASIC mining and large-scale cluster mining
looking back on the mining history, bitcoin mining has gone through the following five times: CPU mining → GPU mining → FPGA mining → ASIC mining → large-scale cluster mining, The mining speed changes are as follows:
CPU (20mhash / s) → GPU (400mhash / s) → FPGA (25ghash / s) → ASIC (3.5tash / s) → large scale cluster mining (3.5tash / s * x)
mining speed, which is called computing power in professional terms, that is, the ability of computer to generate hash collisions per second. In other words, how many hash collisions can our miner do per second is the calculation force. Computing power is the ability to dig bitcoin. The higher the computing power, the more bitcoin you dig, the higher the return
in the world of bitcoin, a data block is recorded about every 10 minutes. All mining computers are trying to package the data block and submit it, and the person who successfully generates the data block will get a bitcoin reward. Initially, bitcoin rewards of 50 bitcoins could be generated about every 10 minutes. But the payment is halved every four years, and now the bitcoin network can generate 25 bitcoins every 10 minutes
to successfully generate data blocks, miners need to find the effective hash value. To get the correct hash value, there is no shortcut. You can only guess. The process of guessing is the process of computer random hash collision. If you guess correctly, you will get bitcoin
Mining method: from a miner to a large-scale mine, you need to prepare a miner, a computer that can connect to the Internet, an AUC, a raspberry pie, power supply and all kinds of connecting lines, etc. The connection order of various devices is network cable - & gt; Raspberry pie - & gt; Microusb cable - & gt; AUC-> 4Pin cable - & gt; Mining machine and power supply
< EM > Figure 3: Mine Map (scale of tens of thousands of mining machines) < / EM >
nowadays, the profit space of small and medium-sized absenteeism who take one mining machine home or deploy a small family workshop (dozens of mining machines) is very limited, and the mining instry is graally concentrating on enterprises and teams with low-cost power resources and professional deployment ability
there are many factors that affect the mining revenue, such as the performance and power consumption of mining machinery, the computing power and difficulty of the whole network, the deployment and operation and maintenance capacity of the mine, the availability of low-cost electricity resources, and the currency price and policy guidance, etc. At present, excellent mining enterprises have the ability of chip research and development, a lot of computing power, professional mine deployment and operation experience, etc. in the future, resources and computing power will be more and more concentrated in these mining enterprises
2. Mine pool
in addition to the above equipment, you also need a necessary tool - mine pool. The function of the mine pool is to gather a large amount of mineral computing power, increase your probability of getting bitcoin, and at the same time, distribute your future bitcoin income to your account in advance
the simple explanation is as follows: now the bitcoin network generates a block every 10 minutes, which contains 25 bitcoins. Suppose there are 1W people in the world participating in mining, then in these 10 minutes, only one lucky person has taken these 25 bitcoins, and the others have nothing. The principle of the mine pool is that everyone mines in teams and distributes according to the agreed distribution method, so that the income of the miners' bitcoin tends to be stable and the risks of the miners are reced. Let's take the most common PPS allocation method as an example. Suppose that your computing power is 10t, and the computing power of the whole mine pool is 100t. Your computing power accounts for 1 / 10 of the total computing power of the mine pool. Suppose that the mine pool can generate 10 bitcoins a day, then you can get 1 bitcoin a day
3. Cloud computing power
in reality, the supply of mining machines often exceeds the demand, and at the same time, the delivery of mining machines needs a long waiting period. Miner installation, commissioning, maintenance and other processes are very complex, which requires a lot of energy. Miners have to enre the noise and heat of miner. For miners, the biggest cost is not these, but the high electricity charges consumed by mining. The profit space of small and medium-sized miners is getting smaller and smaller, even negative
Mining income and risk mining income can be calculated by the following formula:Mining income = generated bitcoin * currency price - mining machinery cost - electricity fee - custody fee
if you are just a small miner, generally you only need to dect mining machinery cost and electricity fee
Mining risks are as follows:
< UL >at present, the number of bitcoin is less than 4.5 million. If we do not issue additional bitcoin, the price of bitcoin will fluctuate, and the price callback will lead to the extension of the payback cycle
mining difficulty improvement at present, our machines can meet the market demand
the risk of power outage
< EM >
< / EM >
recently, I saw a test that the rtx3070 notebook only earns 1.2 yuan an hour.
1050ti computing power is less than 1 / 4 of 3070, which is about 24%
power consumption is 35% of 3070.
energy consumption is not cost-effective. One hour's income is definitely less than 1 yuan, except for the electricity charge. Once the loss of notebook is eliminated, it is definitely a loss
in the very early days, when the computing power of bitcoin was very low, the computer could also carry out a lot of calculations according to the algorithm to "mine" bitcoin
when users "mine" bitcoin, they need to search for 64 bit numbers by computer, and then compete with other gold miners by repeatedly solving puzzles to provide the required numbers for the bitcoin network. If the user's computer successfully creates a group of numbers, they will get the bitcoin awarded by the block. However, e to the rising value of bitcoin, the number of users of bitcoin mining is very large. There are millions of professional mining machines mining at the same time, and the output of bitcoin is very limited every 10 minutes. As a result, tens of millions of people scramble for a block. Therefore, if you use personal computers to mine alone, you may not be able to grab a block in a whole year, People came up with a method of group mining, so the mining pool was born. There are a lot of users who play after mining
I hope you will adopt it.
the most difficult mining problem is 0. At the beginning of 2013, the computing power was about 2p, and now it has reached 100p