Mining mainly depends on graphics card to calculate it
Graphics card mining is a process of increasing the bitcoin money supply
the reason why the graphics card is used is that mining is actually a competition of performance and equipment. The mining machine is composed of graphics card array. With dozens or even hundreds of graphics cards, the cost of hardware and other costs is very high, and there is a considerable expenditure in mining
computers have professional mining chips, and most of them work by installing a large number of graphics cards, which consumes a lot of power. One of the ways to get bitcoin is to download mining software and then run specific algorithm to communicate with remote server to get corresponding bitcoin
extended data
bitcoin does not rely on the issuance of specific monetary institutions, and is generated through a large number of calculations of specific algorithms. Bitcoin economy uses a distributed database composed of many nodes in the whole P2P network to confirm and record all transactions. The decentralized nature and algorithm of P2P can ensure that it is impossible to artificially manipulate the value of bitcoin through mass proction
the bitcoin system is composed of users (users control the wallet through the key), transactions (transactions will be broadcast to the whole bitcoin network) and miners (the blockchain is generated by competitive computing to reach a consensus at each node, and the blockchain is a distributed public authoritative account book, including all transactions in the bitcoin network)
bitcoin miners manage the bitcoin network by solving the problem of workload proof mechanism with certain workload - confirming transactions and preventing double payment. Because hash operation is irreversible, it is very difficult to find the random adjustment number of matching requirements, which requires a continuous trial and error process that can predict the total number of times
when a node finds the solution matching the requirements, it can broadcast its results to the whole network. Other nodes can receive the new data block and check whether it matches the rule. If other nodes find that they really meet the requirements (the operation target required by bitcoin) by calculating the hash value, then the data block is valid, and other nodes will accept the data block
In short, mining is the use of chips for a random number related calculation, get the answer in exchange for a virtual currency. Virtual currency can be exchanged for the currency of each country through some way. The stronger the computing power, the faster the chip can find this random answer. Theoretically, the more virtual coins can be proced per unit time. Because it's about random numbers, you can only get rewards if you happen to find the answer
In his paper, Nakamoto stated:"in the absence of central authority, it not only encourages miners to support bitcoin network, but also enables bitcoin's currency circulation system to have the initial source of money injection."
Nakamoto compares the generation of bitcoin by consuming CPU power and time to the consumption of resources by gold mines to inject gold into the economy. Bitcoin mining and node software mainly initiates zero knowledge proof and verification transactions through peer-to-peer network, digital signature and interactive proof system
each network node concts broadcast transactions to the network. After these broadcast transactions are verified by miners (computers on the network), miners can use their own work proof results to express their confirmation. The confirmed transactions will be packaged into data blocks, and the data blocks will form a continuous data block chain
Nakamoto himself designed the first version of bitcoin mining program, which was later developed into the first generation of widely used mining software bitcoin, which was popular from 2009 to mid-2010
each bitcoin node will collect all the unconfirmed transactions and gather them into a data block. The miner node will add a random adjustment number and calculate the SHA-256 hash value of the previous data block. The mining node tries again and again until it finds the random adjustment number so that the hash value is lower than a specific target
extended data
at the earliest, bitcoin miners were mining through Intel or AMD CPU procts. But because mining is a computing intensive application, and with the continuous improvement of mining number and equipment performance, the difficulty graally increases, now using CPU mining has no profit or even loss
as of 2012, since the first quarter of 2013, miners graally began to use GPU or FPGA and other mining equipment [5]. At the same time, a large number of ASIC devices were launched in mid 2013
since July 2013, the computing power of the whole network has shown a straight-line rise e to the large number of ASIC equipment put into operation. Based on the average computing power in July 2013, all CPU mining equipment has been unable to generate positive revenue, and FPGA equipment is close to no revenue
according to the estimation of average computing power in September 2013, the existing small ASIC mining equipment developed for indivials will also be close to no positive revenue in the next 1-2 months. A large amount of computing power is monopolized by cluster ASIC mining equipment with 5 th ash / s or more. Because of no profit, indivial mining is almost squeezed out of mining groups. Some bitcoin miners have raised funds to build machine rooms and install a large number of mining equipment in places where low-cost electricity can be obtained
in order to save the cost of mining, some bitcoin miners make mining programs into malicious programs to infect other people's computers on the network to mine for themselves
2. Modern multi-core CPU aims at instruction set parallelism (ILP) and task parallelism (TLP), while GPU is data parallelism (DLP)
3. GPU often has a larger bandwidth of memory, that is, the so-called video memory, so it will also have good performance in high throughput applications
4. CPU is a general-purpose operation. In short, it means brainless calculation and violent calculation. Whether it's 100 children sharing apples or simulating the earth, it can be decomposed into the most basic calculation of 1 + 1 = 2. GPU is specially designed to deal with high-order mathematical algorithms, such as calculating the relative positions of light source, object, viewpoint and shadow, which requires trigonometric functions to be piled up. The bitcoin digger uses SHA-256, a secure hash function invented by the US National Security Agency, which is generally used for password encryption and decryption. This algorithm can perform a large number of 32-bit integer right-rotate operations, which is very suitable for GPU which is good at large-scale concurrent computing and password cracking.
Why use graphics card to mine
compared with CPU, GPU is used for general purpose calculation. So it can stack hundreds of stream processors awesome. Each stream processor is like a small CPU. Although its ability to run complex programs is far from the power of CPU, it can not support many processors, so the actual performance, especially the single precision floating point performance is much stronger than that of CPU. p> However, as we have mentioned before, a card is very suitable for general computing such as virtual currency because it has many stream processors, and the speed of obtaining specific solutions is much higher than that of N card. Therefore, many miners rush to buy a card to calculate virtual currency for profit
of course, with NVIDIA's Pascal graphics card, n card's ability in mining virtual currency is not as different as a card before. So in the current situation that a card is generally out of stock, those mid-range N cards have become the second choice for miners
What are the disadvantages of mine cardfinally, I want to talk about why we can't choose mine card when we are shopping for second-hand cards. Because the miners are mining bitcoin, the most important thing is to seek profits. Therefore, the graphics card they use is running and calculating all the time, and its strength is far greater than that of daily game applications. In other words, running such a calculation for one day is equivalent to running a graphics card for one month
in addition, the places where virtual currency is mined are mostly the places where multiple graphics cards gather. Thousands of graphics cards are constantly calculating in a room, and their heat is also quite huge. Miners can not choose the chassis with good heat dissipation conditions like ordinary consumers, so that the heat can be released smoothly. In this way, the graphics cards can still operate for 7 * 24 hours under high temperature conditions, It also deepens its aging degree
the result of doing so is that the graphics cards used for mining are lost prematurely. If you buy these graphics cards, the result will be unstable operation, restart and other things will continue to happen
moreover, at present, manufacturers also have strict requirements on mine cards, such as banning second-hand sales and shortening the shelf life. If users buy these mine card graphics cards, future maintenance will also be a big challenge
Bitcoin was obtained by CPU in the early days. With the continuous development of GPU speed and the emerging advantages of GPU general computing, miners graally began to use GPU instead of CPU for mining. Bitcoin mining uses SHA-256 hash operation, which will carry out a large number of 32-bit integer cyclic right shift operation. Interestingly, this algorithm operation can be implemented by a single hardware instruction in AMD GPU, while it needs three hardware instructions to simulate in NVIDIA GPU. This one alone brings an additional 1.7 times of computing efficiency advantage for AMD GPU. With this advantage, amd GPU is favored by the majority of miners
advise the landlord not to dig up if the budget is not too much!!! This money is not earned if you want to
the difficulty of bitcoin is increasing. Mining with graphics card is a race against time. The main reason is that the difficulty of mining bitcoin is graally increasing (the reason of bitcoin algorithm design). If a set of platforms can get 1 bitcoin per day according to the current difficulty, then in one month, the platforms with the same computing power will only get 0.8 bitcoins, even the top graphics cards will get 18.2 days (which can't be shut down), and the lowest second-hand hd7750 will need more than 400 (it will take 214 days to get one). Just look at this figure (this is the data in May this year, Now it's more than 18 days)
people can earn money by buying several mining machines (mining machines with dozens of top graphics cards piled together)
I hope I can help you
in the early days of the advent of a virtual currency, it was relatively easy to mine. Maybe a CPU with strong enough performance could easily mine the currency
as it becomes more and more difficult to dig money, the CPU has already been unable to cope with the huge computing power required for mining, and the terrible performance of the large-scale stream processor parallel computing in the GPU core of the graphics card is more suitable for mining this kind of parallel computing
therefore, today's professional mining machinery has become the world of GPU and professional chips, in which CPU plays the most coordinating role. Moreover, with the increase of mining difficulty, the demand for the display memory capacity of the mine card is higher and higher. A few years ago, 2-3gb was enough, but now 6GB may not be enough.
in short, mining is to use the chip to carry out a calculation related to the random number, and get the answer in exchange for a virtual coin. Virtual currency can be exchanged for the currency of each country through some way. The stronger the computing power, the faster the chip can find this random answer. Theoretically, the more virtual coins can be proced per unit time. Because it's about random numbers, you can only get rewards if you happen to find the answer. It's possible that one chip will find the answer in the next second, or ten chips won't find the answer in a week. The more chips compute at the same time, the easier it is to find the answer, and the mining machine with built-in multi chips appears. And a number of mining machines to form a "mine" at the same time mining is to improve efficiency. In the mine pool, multiple "self-employed" join an organization to mine together. No matter who finds the answer and digs out the virtual coin, everyone gets the corresponding reward according to the calculation ability of contribution. This way can make the income of "self-employed" more stable
take a popular example:
I write a string of numbers on a piece of paper and give some hints. Whoever guesses correctly will be given a bonus (mining)
smart people can make more guesses (calculation ability)
some people pay money to invite many people to come back and guess together (mining)
some people call everyone together to guess, no matter who guesses, Distribute the bonus (mine pool) according to the proportion of guessing times of each person
the rest is too long, you can search by yourself...