Why do graphics cards have to be mined
mining, in fact, is a problem-solving process. First, we work out a formula with many answers, and then the dealer releases a random answer every other period of time. An answer is the prototype of a virtual coin. We can see who can calculate the answer at this time, and then this person or these people can divide the virtual coin. When the result comes out, we can find the answer, virtual currency is attached with information such as the computer information and problem-solving time of the tester, so that the virtual currency can be "materialized", that is, it has traceability and uniqueness attributes. At this time, the virtual currency is officially g out
using the graphics card is because the computing method of the graphics card is different from that of the CPU. The CPU focuses on logic computing. The graphics card is simple computing, and mining (that is, solving problems) just needs simple computing power. Therefore, mining with the graphics card
bitcoin miner is the equipment for mining bitcoin. The mining equipment can be ordinary computer or USB miner, It can also be a professional ASIC miner
It is true that ordinary computer CPU can mine bitcoin, but because bitcoin mining has formed a huge instry all over the world, it is difficult for indivials to mine bitcoin with ordinary computers. You need to buy expensive and professional bitcoin
ASIC mining machine
and join the bitcoin miners organization to dig bitcoin, that is, to join a mining pool for mining
First of all, CPU and GPU are designed differently for different missions in the computer:1. CPU is mainly optimized for serial instructions, while GPU is optimized for large-scale parallel computing
Modern multi-core CPUs aim at instruction set parallelism (ILP) and task parallelism (TLP), while GPUs aim at 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
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 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...
Starting from the essence of bitcoin, the essence of bitcoin is actually a special solution generated by a bunch of complex algorithms. A special solution is one of the infinite (in fact, bitcoin is finite) solutions that can be obtained from the equations. Every particular solution can solve the equation and is unique
why use graphics card to mine
compared with the complex computing of CPU, GPU used by graphics card is used for general computing. 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>
the actions in bitcoin can be considered as the use of graphics card to do continuous general computing, and the computational complexity is relatively low and quite repetitive. The stream processor used by graphics card is just suitable for such an algorithm. It's like constantly solving equations. The graphics card is 2000 middle school students, while the CPU is 8 math doctors. Although the mathematical knowledge of the doctor of mathematics is far more than that of the middle school students, the speed of solving medium-sized equations such as virtual currency is certainly not as fast as that of 2000 middle school students
so we used graphics card 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
does not need too many instructions. In other words, the task of BTC only needs some specific transistors to be executed.
the CPU is used to perform the mining task, because the CPU needs many crystal tubes to execute various instructions, In a cycle, many transistors are idle, and the speed is slow and normal.
in order to enhance the ability of displaying images, the graphics card saves many transistors that have nothing to do with the display function, so the graphics card can only display images, but it is much faster than the CPU in the task of displaying images.
BTC needs to perform the same task as the graphics card, so the graphics card mining is faster than the CPU.
the same as the graphics card, The task execution mode of a card is closer to that of BTC than that of N card, so a card is more suitable for mining
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
2. The CPU is used to perform mining tasks. Because the CPU needs many transistors to execute various instructions, many transistors are idle in a cycle. The speed is relatively slow
3, in order to enhance the ability of displaying images, the graphics card saves a lot of transistors that have nothing to do with the display function, so the graphics card can only display pictures, but it is much faster than the CPU in the task of displaying pictures. BTC needs to perform the same task as the graphics card, so the mining of the graphics card is faster than the CPU, So a card is more suitable for mining.