Position: Home page » Bitcoin » Bitcoin mining source code analysis

Bitcoin mining source code analysis

Publish: 2021-05-04 19:08:57
1. Sorry
you can't modify this
because this source code records the development process of bitcoin along the way, the problems encountered in the mining process and the mining difficulty
there is open source code to mine, so no one can change it
2. < blockquote >

when building bitcoin, Nakamoto wants bitcoin to be a decentralized currency, not only for use and trading, but also for mining. But it backfired. With the increasing value of cryptocurrency such as bitcoin, mining has become an instry. The competition is more and more fierce, and the pursuit of mining computing power is higher and higher. Therefore, from ordinary computer mining, ASIC mining machine and GPU mining machine have evolved

the algorithm of ASIC mining machine is almost sha256, while the algorithm of GPU mining is different. For example, the algorithm of BTG is equihash, and the algorithm of BCD is optimized x13. Although it is not absolute, it can be simply considered that the currency of sha256 algorithm is generally mined by ASIC mining machine. Other algorithms are basically using GPU miner. There are also exceptions. Scrypt's Leyte coin used to be mined by GPU miner, but later scrypt's algorithm was also conquered by ASIC chips, such as ant miner L3 +, which is the ASIC miner used to dig Leyte coin

ASIC miner refers to the miner that uses ASIC chip as the core of computing power. ASIC is the abbreviation of application specific integrated circuit, which is a kind of electronic circuit (chip) specially designed for a specific purpose. Some mining machinery factories have designed ASIC chips specially for computing the sha256 algorithm of bitcoin, and the mining machinery using them is ASIC mining machinery. Because ASIC chip is only built for specific computing, its efficiency can be much higher than that of CPU. For example, the current mainstream ant miner S9 is ASIC miner, which uses 189 ASIC chips, the computing power reaches 13.5th/s, and the power consumption is only 1350W. As a comparison, the computing power of gtx1080ti, the flagship computer graphics card, will not exceed 60mh / s even if it is optimized well. The difference is tens of thousands of times

GPU miner refers to the miner that uses GPU graphics card as the core of computing power. Cryptocurrencies such as Ethereum, bitcoin and diamond use graphics algorithms, so the speed of computing with graphics card will be the highest. Compared with ASIC miner, GPU miner is more well-known, because it is a computer with enhanced graphics card configuration

the purpose of GPU miner is to make money, so we should pursue the power consumption ratio and maximum profit, so we should pay attention to the cost performance. Generally, the medium and high-end positioning graphics cards, such as AMD rx560 and rx570, have high power consumption ratio, which is a good choice for GPU miner. While flagship cards such as gtx1080ti and AMD vega64 have the strongest single card performance, they are not cost-effective in terms of price and power consumption

in addition, the ASIC miner also has some exotic procts, such as the USB miner of burning cat, which is slightly larger than the U disk, and the power consumption is only 2.25w, which is the smallest bitcoin miner at present

< / blockquote >

the above quoted digcoin.com - "Introction to mining machinery classification" has many professional terms. I hope it can help you, thank you

3. Bitcoin is a peer-to-peer network-based anonymous digital currency. Peer to peer means that there is no central authority to control the money transfer channel. On the contrary, the tasks of these money transfers are collectively managed by network nodes. Anonymity means that all parties can hide their true identities. Advantages: no need to trust intermediaries, can easily carry out Internet remittance. Third parties cannot control or block your transactions. It avoids the hidden danger caused by the bad policy and instability of the central reserve bank. The limited currency inflation of bitcoin system is evenly distributed (determined by CPU) in the whole network, rather than monopolized by banks. Bitcoin is an open source project proced by Satoshi Nakamoto, and its R & D website is at SourceForge.
4. Bitcoin mining is a process of using computer hardware to do mathematical calculation for bitcoin network to confirm transactions and improve security. As a reward for their service, miners can get the Commission included in the transaction they confirm, as well as the newly created bitcoin. Mining is a professional and competitive market. The bonus is divided according to the amount of calculation. Not all bitcoin users mine, and it's not easy to make money from mining

however, at present, professional Avalon ASIC miner is needed for mining, and it also needs to be included in a mine pool. If you are a retail investor, of course, if you arrange a large mine, you don't need it.
5.

the principle of bitcoin mining is to implement rules made by people and automatically executed by computers

Satoshi Nakamoto, the inventor of bitcoin, has stipulated this rule from the very beginning, and those who participate in bitcoin blockchain must automatically abide by it unconditionally

The content of

rules is generally ,

people who pack the circulation data of bitcoin, arrange it into a fixed size, and then upload it to the blockchain for bitcoin whole network synchronous broadcasting can get 50 bitcoins rewarded by the system

under certain conditions, these rewards will be halved, about once every four years

so how to complete the data packing

the person who wants to complete this action must first have the necessary tools, that is, the software to execute the bitcoin blockchain, and the machine (computer at the beginning) to run the software; Then download and save all the bitcoin transaction data that have been recognized by the whole network. At this time, you become a "node" and a part of protecting the blockchain data

The

node can only get the priority of the packaged data after running a specific mathematical formula and getting the correct answer. The system will automatically give the reward to the node who gets the priority, who completes the packaging first and then uploads it to the blockchain, and receives and approves it from other nodes

if there is bitcoin service charge in the packaged transaction, the service charge belongs to the node

people think that the process of calculating the mathematical formula and then completing the package to get the reward is just like fishing for gold in the river. It is necessary to discard many wrong answers in order to find the right key to get gold, so people compare this process to mining

so bitcoin mining is not really to dig something, or to use computers to constantly collide and guess. Whoever guesses first wins the reward, that's all

6. Bitcoin mining is through the mining node, and then the bitcoin mining machine (computer) constantly consumes its own computing power in exchange for bitcoin. In the bitcoin system, through its own algorithm, it can dynamically adjust the mining difficulty of the nodes in the whole network, and ensure that every 10 minutes, one node will succeed in mining. At this time, the bitcoin system will reward this person with a certain amount of bitcoin. Bitcoin mining is a complicated process, but it usually goes through these steps: preparation, finding the mine pool, registering the mine pool account, setting the mine pool account, downloading the bitcoin miner (software) and configuring the bitcoin miner; After the above steps, you can mine
the content of this article comes from: financial code of the people's Republic of China: application edition, China Law Press
7.

Bitcoin mining is a process of using computer hardware to do mathematical calculation for bitcoin network to confirm transactions and improve security

8. Let's put it this way. Seven years ago, it was ok, but now it's not. All the old drivers quit. You didn't know until you saw the virus, did you.
9. Bitcoin uses a graphics card to do an arithmetic, just like we do math problems. It has a rule of that algorithm, and then it uses a graphics card to do the arithmetic. His algorithm will be geometric superposition. So it's hard to find this bitcoin now. There is one of them. Well, you download the roaming browser. He has one called symbiotic coin. That is to say, when you usually surf the Internet, use this browser. You'll generate some virtual coins. Then it can be changed into RMB. I'm not quite clear about his ratio.
10.

" Bitcoin Mining & quot; The concept of "gold mining" comes from the existing concepts in real economic life, such as gold mining and silver mining. Because minerals are valuable, it drives people to pay labor to dig

significance: compared with the special currency network, bitcoin mining is not only the basic guarantee for issuing coins, but also for maintaining the operation of bitcoin system; Behind every bitcoin mining activity is to create a new-type & quot; Note printing machine & quot

Bitcoin does not rely on specific currency institutions to issue. It is generated by a large number of calculations based on specific algorithms. Bitcoin economy uses a distributed database composed of many nodes in the whole P2P network to confirm and record all transaction lines, and uses cryptography design to ensure the security of all aspects of currency circulation

the decentralized feature and algorithm of P2P can ensure that it is impossible to artificially control the value of bitcoin by mass manufacturing. The design based on cryptography can make bitcoin only be transferred or paid by the real owner. This also ensures the anonymity of money ownership and circulation transactions. The biggest difference between bitcoin and other virtual currencies is that the total amount of bitcoin is very limited and it has scarcity

Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750