Bitcoin distribution
bitcoin mining is a process that uses computer hardware to calculate the location of bitcoin and obtain it
mining is an incentive process to record data in the bitcoin system. In the bitcoin system, indivial users have the right to pack blocks after calculating a specific hash value by using CPU or GPU to hash
and in order to reward this user for packing blocks, the system will give a certain amount of bitcoin as reward. Because this process is very similar to "mining" in real life, most people call this process mining. In addition to bitcoin, other electronic virtual currencies can also be obtained through mining rewards, such as Ethereum, Monroe and so on
extended data:
mining risk:
1, currency security
the withdrawal of bitcoin requires hundreds of keys, and most people will record this long string of numbers on the computer, but frequent problems such as hard disk damage will make the key permanently lost, which also leads to the loss of bitcoin
2, system risk
system risk is very common in bitcoin, and the most common one is bifurcation. Bifurcation will lead to a drop in currency price and a sharp drop in mining income. However, many cases show that the forking will benefit the miners, and the forked competitive currency also needs the miners' computing power to complete the minting and trading process. In order to win more miners, the competitive currency will provide more block rewards and handling charges to attract miners. Risk makes miners
Find the code on the bitcoin system, and you can dig bitcoin if you find the code
every other time point, the bitcoin system will generate a random code on the system node, and all computers in the Internet can search for the code. Whoever finds the code will proce a block, and then get a bitcoin. This process is often called mining. Computing this random code requires a lot of GPU operations, so the miners purchase a large number of graphics cards to get bitcoin profits more quickly, which is also an important reason for the recent shortage of graphics cards
extended information:
characteristics of bitcoin
The total amount is limited, only 21 million BTC2. Anyone can issue bitcoin, but it is more and more difficult
3. Compared with the central bank currency, it is safer and almost impossible to be stolen
The transaction process is completely anonymous and cannot be tracedBitcoin is the first distributed virtual currency
to mine bitcoin, you can download the special bitcoin computing tools, register various cooperation websites, fill the registered user name and password into the computing program, and then click the operation to officially start. After completing the installation of bitcoin client, you can directly obtain a bitcoin address. When others pay, you only need to paste the address to others, and you can pay through the same client
after installing the bitcoin client, it will assign a private key and a public key. You need to back up the wallet data containing your private key to ensure that your property is not lost. Unfortunately, if the hard disk is completely formatted, personal bitcoin will be completely lost
extended information:
as a virtual commodity, bitcoin itself has no national boundaries, and its operation mode is a "decentralized" monetary system, which is very convenient for one-time large transaction. Bitcoin is traded through the network, and the owner's identity is only in the form of a set of encrypted computer code
in the operation, input a digital address directly, click the mouse a few times, and wait for the confirmation of the transaction to complete the transaction. The network can only record which address a bitcoin was g up from and how it was transferred
however, the identity of the owners of these addresses can not be verified, which is just like when money goes to an ownerless bank account, the relevant transactions can easily be invisible from the perspective of government supervision, and it is difficult to be tracked or intercepted. In addition, bitcoin can evade the scrutiny of exchange control institutions required by normal cross-border remittance, and the transaction records will not be recorded by banks and other parties
naturally, the problem of reporting to relevant departments after the transaction exceeds a certain amount is avoided. Buy bitcoin with domestic currency, sell it on foreign trading platforms, and withdraw it in US dollars. Asset transfer can be completed in a few minutes
it is not difficult to open an overseas bank account related to bitcoin for foreign exchange, and the conversion is very convenient. Because of these characteristics, bitcoin has been chosen by criminal organizations
Step 1: prepare mining machines and pools
if you want to dig bitcoin, you must prepare professional equipment. At present, there are many professional mining machines on the market, and the pool is also essential. When you choose a pool, you should also compare the output and income gap of each pool, and then choose the most suitable one
Step 2: register and set the mine account
after the mine is ready, register the mine account and set a common email. When setting the mine account, each CPU or GPU needs to set a mine account
Step 3: download the bitcoin miner
after you register and set up your account, you need to download the bitcoin miner. When downloading the miner, be sure to choose the miner that can make your CPU and graphics card play the most function. After downloading, set the server, user name, password, device and so on
Step 4: Mining
after setting up the miner, click the "start mining" button, the miner will enter the state of full speed operation, and the miner will start mining automatically.
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 >
When bitcoin nodes connect with each other, they will get transactions they don't have from each other. But because bitcoin has accumulated a large number of transactions for a long time, it is very difficult for two nodes to compare which transactions you are missing / which transactions I am missing one by one
to solve this problem, Nakamoto Tsung invented the important technology of block chain. Nodes use blocks to synchronize transactions, which ensures the data consistency of all nodes, and ensures the uniqueness of the blockchain by competing for block packing rights (that is, mining)
① a block and blockchain
a packet formed by a transaction over a period of time is called a block. On average, bitcoin generates a block every 10 minutes, and each block is linked to the previous block to form a blockchain
② the transaction data is synchronized with the block as a unit
the block is numbered from 1, so after node a connects with node B, it is convenient to synchronize the transaction data as long as the block number height of both parties is checked. For example, if node A's own block height is 100 and node B's block height is 110, all it needs to do is request B to synchronize the 10 blocks 101-110<
③ reward for packed blocks
in order to ensure that there are nodes to pack bitcoin transactions, bitcoin rules stipulate that nodes of packed transactions will receive bitcoin as reward
A. part of the package reward comes from the transaction fee paid by the transaction creator (100-1000 transaction fee per KB)
B. the other part comes from the initial distribution of 21 million bitcoins. At the beginning, the reward is 50 bitcoins for each block. After that, the reward will be halved for every 210000 blocks (about four years). Until about 2140, the reward for each block is less than 1, and the total reward for each block is 21 million bitcoins, This is the source of the total amount of 21 million bitcoins (2099999.97690000 to be exact)
after 2140, the package reward will only come from the transaction fee paid by the transaction creator<
④ competition for block packing right
node packing transaction only needs to consume very low-cost network and computing resources. The existence of packing reward (at present, the packing reward for each block is 25 bitcoin, about 40000 yuan), makes a large number of nodes want to pack transactions. In order to ensure the uniqueness of the blockchain, bitcoin rules stipulate that nodes use a method similar to "coin tossing" to compete for the right of transaction packaging. Nodes constantly toss coins. Whoever first throws the results that meet the rules will get the right to pack the transaction in this block, as well as the package reward of this block
1. First of all, connect the network cable, plug the network cable into the network cable interface of the mining machine, and remember to plug it tightly. Only when the miner is connected to the Internet, there is no limit to the broadband
extended data
users can buy bitcoin, at the same time, they can also use computers to "mine" bitcoin according to a large number of calculations. When users "mine" bitcoin, they need to use the computer to search for 64 bit numbers, 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 set of numbers, then they will get 25 bitcoins
e to the decentralized programming adopted by the bitcoin system, only 25 bitcoins can be obtained every 10 minutes, and by 2140, the maximum number of bitcoins in circulation will reach 21 million. In other words, bitcoin system is able to achieve self-sufficiency, resist inflation through coding, and prevent others from destroying these codes
therefore, we used graphics cards to mine virtual currency at the beginning. After that, someone developed a specific algorithm to make the stream processor of the graphics card greatly strengthen the virtual currency solution, which is the origin of the mining machine
the transmission of knowledge is driven by life