How bitcoin miners reach an agreement
as a miner, I used graphics card very early and then butterfly machine. At present, I use Avalon's 220 miner and just received a new 180 ant miner. To tell you the truth, mining is not as simple as you think. Here I will list some practical difficulties you need to face in mining. If you find that some of these items can't be solved and overcome for the time being, don't rush to buy a miner, because from the moment you buy, if you can't mine, Then you will face a real loss
first, list the problems to face
1, be able to accept the noise - the noise of the mining machine is very loud, which is equivalent to that you put the air conditioner outside the room
1-1, strong hands-on ability - the noise can be controlled to a certain extent by adding water cooling, but it needs to be done by yourself. The installation process of water cooling is not as simple as the online tutorial. It needs to be extremely careful. The capacitor on the logic board is easy to touch, and it must be successful at one time. Once the refrigerant is added, the machine will have problems again, It would be disastrous to dismantle the water cooling system
1-2, conditional repair of the chip capacitor - in the process of water cooling installation, the capacitor is easy to fall off, these chip capacitors are very difficult to weld
2, you can set up the network - you can't just plug in the Internet cable! Need to understand the routing, know how to change the IP of the router, mining IP is fixed, according to mining IP to do settings
2-1, you can get a fixed IP address - if you are mining in a company, you can't set up a route, so you must have the condition to get a fixed IP, and then set up your own network through this IP
3. The environment of continuous power supply and continuous network - mining is a 24-hour business. Don't take it for granted that a meeting is OK in one day. Many companies will cut off power at midnight. This must be made clear
3-1. In low temperature environment, in addition to 24-hour continuous power supply, there should also be a relatively cold environment. In actual mining, we can clearly feel the importance of temperature for mining<
let's assume two scenarios,
in the company:
if your working environment is very quiet, it is not suitable, even if water cooling is installed. If you are a senior blue collar, in the workshop, do you have the conditions to set up the network and get a fixed IP? If you can't, give up
at home:
can you stand noise? Can tolerate to a certain extent
is it possible to install water cooling? It can be installed conditionally
is it possible to set up a network? There are also conditions to set up the network
is it warm in that room? Yes, but you can open windows on the second bedroom or balcony
is it possible to pull the wire and the wiring board in the balcony? No problem
congratulations, you can buy a miner to dig it up, but if one of them doesn't work, you need to think carefully before making a decision
the above-mentioned points should not be taken as unimportant or major problems. For example, it is necessary to have the conditions to install water cooling, for example, in a lower temperature environment, for example, to have a fixed IP
when the miner starts to operate and makes a rumbling sound, if you are in the company, you have to turn it off awkwardly. If you are at home, you need to figure out how to explain to your family or girlfriend that the noise will exist for 24 hours, and hope they don't mind
if your home is warm, your miner will never be able to achieve the highest computing power it can. You must accept it calmly, don't be depressed, it's useless to find the seller. Unless you open the window to let in the cold air, you will find that you and the miner are so out of place. That's why laomaozi is very fond of mining< Make complaints about mobile phone, br / > and if you work hard to move the mine to the company, you may think that the electricity charge is in the whole province. You can't get the mine to connect. Then you can only move the mine to home or sell it as a second-hand machine...
these words are typed word by word by me. I hope it can help you. You must find out whether you are qualified to do this at present. As for how to dig, it's a very simple thing: buy a miner, register an account on a mining website, Download a multibit to store the bitcoin you get, and link the miner to the network for power on, Set up the network, give it the fixed IP specified on the chassis, use the computer to access the IP, make some simple settings, and then wait for the receipt
what else can I ask you
The bitcoin mining machine downloads the mining software and then runs a specific algorithm to get the corresponding bitcoin after communicating with the remote server, so as to obtain the bitcoin
any computer can become a mining machine, but the benefit will be relatively low, and it may not be able to dig a bitcoin in ten years. Many companies have developed professional bitcoin mining machines, which are equipped with special mining chips, and their computing speed is tens or hundreds of times higher than that of ordinary computers
bitcoin miners can neither increase their rewards by cheating, nor deal with the fraulent transactions that destroy the bitcoin network, because all bitcoin nodes will reject the blocks containing invalid data that violate the bitcoin protocol rules. Therefore, even if not all bitcoin miners can be trusted, the bitcoin network is still secure
extended data:
mining is a process of consuming computing resources to process transactions, ensuring network security and keeping everyone's information synchronized in the network. It can be understood as the data center of bitcoin. The difference lies in its completely decentralized design. Miners operate all over the world, and no one can control the network
this process is called "mining" because it is similar to gold panning, because it is also a temporary mechanism for issuing new bitcoin. However, unlike gold panning, bitcoin mining provides rewards for services that ensure the safe operation of payment networks. After the last bitcoin, mining is still necessary
anyone can run software on specialized hardware and become a bitcoin miner. Mining software monitors transaction broadcast through P2P network and performs appropriate tasks to process and confirm these transactions. Bitcoin miners can earn transaction fees paid by users to speed up transaction processing and additional bitcoin issued according to fixed formula
bookkeeping
because bookkeeping is a reward, each time you can add a certain number of bitcoin for yourself, so everyone is competing for bookkeeping, which of course leads to a problem: when there is inconsistency in bookkeeping, the system introces workload proof to solve the problem, and the rules are as follows:
1. In a period of time, only one person can succeed in bookkeeping
2. Obtain the unique bookkeeping right by solving the cryptography problem
3. Other nodes the bookkeeping results
but before the workload proof, The accounting node will do the following preparatory work:
1. Collect the original transaction information that has not been recorded in the broadcast
2. Check whether the payment address in each transaction information has enough balance
3. Verify whether the transaction has the correct signature
4. Package and record the verified transaction information
5. Add a reward transaction: add 12.5 to your address Bitcoin
if you succeed in competing for bookkeeping rights, you can get a reward of 12.5 bitcoin
workload proof
the hash value of the previous block and the current account page information will be hashed together as the original information in each bookkeeping. In order to ensure that only one person can keep accounts around 10 minutes, we have to improve the difficulty of keeping accounts. The results of hash must start with several zeros. In order to satisfy the condition, hash is to introce a random number variable
denoted by pseudo code:
1. Hash (last hash value, transaction record set) = 456635bcd
2. Hash (last hash value, transaction record set, random number) = 0000afd635bcd
if you change part of the original information of hash, the hash value will also change continuously. Therefore, when you run hash, the value of random number will change continuously, A random number can always be found so that the result of hash starts with several zeros. The node that finds the random number first obtains the unique bookkeeping right
verification
after the node successfully finds the hash value, it will broadcast and package the block to the whole network immediately, and the node of the network will verify it after receiving the broadcast. If the verification is passed, it indicates that a node has successfully decrypted, it will not compete for the current block, but will choose to accept the block and record it in its own account book for the next round of competitive guessing. Only the fastest decrypted block in the network will be added to the ledger, and other nodes will to ensure the uniqueness of the whole ledger
If a node has cheating behavior, it will cause the node of the network to fail the verification, give up its packaged block directly, and cannot be recorded in the general ledger, then the consumption cost of the cheating node will be in vain. Therefore, miners consciously abide by the consensus protocol of bitcoin system, and ensure the security of the whole system
it's like you go to the construction site to move bricks. After moving bricks for one day, the contractor asks you how can you prove that you move bricks for one day?
What CCTV has reported twice, do you still expect to make money? Everyone knows that things that make money don't make money
mining companies and consortia are now working on dozens and hundreds of mining equipment. Do you think the personal retail miner can really recover the cost? According to the price can really return the words, the seller is a fool to sell it to you?
