Position: Home page » Pool » Principle of mining pool

Principle of mining pool

Publish: 2021-03-24 16:49:27
1. When it comes to money, mining is indispensable. In ethereum network, if you want to get Ethereum, you also need to mine it. When it comes to mining, there must be a consensus mechanism
do you remember what the consensus mechanism of bitcoin is? The consensus mechanism of bitcoin is pow. To put it simply, the more work you do, the higher the amount of computation you pay, the more likely you will be the first to find the correct hash value, and the more likely you will be rewarded with bitcoin
however, there are some defects in the pow of bitcoin, that is, it is too slow to process transactions, and miners need to constantly collide hash values through calculation, which is costly and inefficient. Friends who are interested in blockchain knowledge should see such a saying:
in order to make up for the deficiency of bitcoin, Ethereum has proposed a new consensus mechanism, called POS (this is the abbreviation of English, which means "proof of equity", also translated into "proof of equity")
POS simply means the same as its literal meaning: equity, equity. The more currency you hold, the more equity you have, the higher your equity
Ethereum's POS means that the more money you hold, the longer you hold it, the less difficult it will be to calculate and the easier it will be to mine
in the initial setting of Ethereum, Ethereum hopes to build a relatively stable system by using POW in the early stage, then graally adopt POW + POS, and finally completely transition to POS. So, it's true that the consensus mechanism of Ethereum is POS, but POS is only a plan or goal at the beginning of Ethereum's release. At present, Ethereum has not yet transitioned to POS, and the consensus mechanism adopted by Ethereum is still pow, that is, the pow of bitcoin, but it is slightly different from the pow of bitcoin
the amount of information here is a bit large,
the first information point is that the consensus mechanism currently adopted by Ethereum is also pow, but it is slightly different from the pow of bitcoin. So, what's the difference between the pow of Ethereum and bitcoin: in short, the mining difficulty of Ethereum can be adjusted, but the mining difficulty of bitcoin can't be adjusted. Just like our college entrance examination, because the teaching situation and the number of students in different provinces are not the same, so the college entrance examination is divided into national papers and provincial independent proposition
Ethereum said that I am in favor of the topic by region. Bitcoin said: No, it must be the same volume in the whole country. The difficulty is the same for everyone
the popular explanation is that bitcoin uses computer computing power to do a lot of hash collisions, enumerate various possibilities to find a correct hash value. The Ethereum system has a special formula to calculate the difficulty of each block. If a block is verified faster than the previous block, Ethereum protocol will increase the difficulty of the block. By adjusting the block difficulty, the time needed to verify the block can be adjusted
according to the Ethereum protocol, the dynamic adjustment method of difficulty is to make the time interval of creating new blocks in the whole network 15 seconds, and the network uses 15 seconds to create blockchain. In this way, because the time is too fast, the synchronization of the system is greatly improved, and it is difficult for malicious participants to launch 51% (that is, more than half) of the computing power to modify historical data in such a short time
the second information point is: in the initial setting of Ethereum, we hope to achieve the transition from POW to
POS through phased upgrade
dating back to 2014, at the beginning of Ethereum's launch, the team announced that the launch of the project would be divided into four stages, namely, Froniter, homestead, metropolis and serenity. In the first three stages, the consensus mechanism adopts pow (workload proof mechanism), and in the fourth stage, it switches to POS (equity proof mechanism)
on July 30, 2015, the first phase "frontier" of Ethereum was officially released. This phase is only suitable for developers. Developers can write smart contracts and decentralized application DAPP on Ethereum network, and miners begin to enter Ethereum network to maintain network security and get Ethereum coins. The leading-edge version is similar to the beta version, proving whether the Ethereum network is reliable or not
on March 14, 2016, Ethereum entered the second stage of "homeland". In this stage, Ethereum provides the wallet function, so that ordinary users can easily experience and use Ethereum. There is no obvious technology improvement in other aspects, but it shows that Ethereum network can run smoothly
in September 2017, Ethereum has reached the third stage of "metropolis"“ "Metropolis" is composed of Byzantine and Constantinople. The goal of this stage is to introce the hybrid chain mode of POW and POS, so as to prepare for the smooth transition from POW to POS. This is the latest popular "Ethereum Constantinople upgrade". In the Constantinople upgrade, Ethereum will make some changes to the underlying protocols and algorithms to lay a good foundation for the implementation of POW and
POS
how much reward will Ethereum get for mining? Miners who win the block creation competition will get the following income:
1. Static reward, 5 ethereums
2. The fuel cost in the block, i.e. gas, we talked about in the last issue
3. As a part of the block, it includes the extra reward of "Uncle block". Uncle is uncle of uncle, and each uncle block can get 1 / 32 of the mining reward as a reward, that is, 5 times 1 / 32, which is equal to 0.15625 ethereums. Here, let's briefly explain the concept of "TERT block". The concept of "TERT block" was proposed by Ethereum. Why should we introce the concept of TERT block? This also starts with bitcoin. In the bitcoin protocol, the longest chain is considered absolutely correct. If a block is not part of the longest chain, it is called a "orphan block". An isolated block is a block, which is also legal, but it may be found later, or the network transmission is slower, and it does not become part of the longest chain. In bitcoin, the solitude is meaningless and will be discarded later, and the miners who find the solitude will not receive mining related rewards
however, Ethereum does not think that isolated blocks are worthless, and Ethereum system will give rewards to miners who find isolated blocks. In Ethereum, isolated blocks are called "Uncle blocks", which can contribute to the security of the main chain. Ethereum's ten second block interval is too fast, which will rece the security. By encouraging the use of tertiary blocks, the main chain can obtain more security guarantees (because the isolated block itself is legal). Moreover, paying the tertiary block can also stimulate the miners to actively mine and actively use tertiary blocks. Therefore, Ethereum thinks that it is valuable.
2. At present, with the increase in the number of people mining in various currencies, the difficulty is also increasing. If you mine with a single computer, the possibility of digging out a block is relatively small. Take BTC for example, it is very likely that you will find one in half a year; If you connect your own miner to the mine pool, you can ensure that you have a basic income every day, which is relatively stable for miners. The premise is to select a suitable ore pool according to different currencies. Generally speaking, the current mining pools: ant mining pool, fish mining pool, coin printing mining pool, viabtc, flypool are all pretty good
3. Because indivial mining is difficult to meet the demand, the global computing power is increasing, and it is difficult for a single device or a small amount of computing power to dig bitcoin again. It is also a combination of a large number of mining machines to form a mine pool. The computing power of the mine pool is very powerful, and it can also ensure that virtual currency can be g more quickly. So how can the mine pool dig? Let's have a look
how to mine a mine pool
the location of a mine pool is also very particular. It's not that a mine pool can be built anywhere, but it needs early-stage capital investment. A mine pool is to combine a single mining machine together. Because of the collection of many miners' computing power, the computing power of the mine pool accounts for a large proportion, and the probability of digging bitcoin is higher. The mine pool will distribute rewards according to the contribution value of each equipment
there are many mines all over the world, and the scale of each mine varies from big to small. Generally, small mines no longer have great advantages. Large mines have many miners for mining. For each miner, he can join any mine or join multiple mines at the same time, The first task of the mine pool is to distribute the income to the miners
(1) PPLNs method
this method gathers the shares g by all miners together. Whenever a certain amount of shares is accumulated (generally 30 million shares), the mine pool will allocate the profits of the previous stage to the miners according to the proportion of contribution
in this way, the income of miners depends entirely on the time needed to dig 30 million shares in the mine pool. If you are lucky, you can dig them in a short time, then the income of miners will be more, otherwise it will be less. In return, the pool charges a 3% tax
(2) PPS mode
for users, the income of this mode is relatively stable
the profit mainly depends on the miner's mining speed. As long as the mining speed is stable, the corresponding profit can be obtained, and the profit is real-time, that is, the mine pool will pay the profit for the miner while the miner is running
obviously, every time a block is calculated, the mine pool has paid for all the miners. If the block fails in the subsequent confirmation link, all the losses will be paid by the pool operator. Therefore, this method reces the risk of the miners, but transfers the risk to the pool operator
therefore, usually the ore pool can charge a handling fee to make up for the possible losses caused by these risks. In this mode, the tax of the ore pool is 7.5%
the above is about how to mine. The difficulty of mining has greatly increased, but the mining army is expanding. If the basic equipment does not meet the standard, it will be difficult to gain in the mining instry, because the value of the virtual currency may not be equal to the price of an equipment, and many miners are not just digging bitcoin, Instead, we choose other virtual currencies to mine.
4. Mining is actually competing for the right to pack in the block
as tens of thousands of miners compete for the right to pack, the probability of a single miner seizing the right to pack is very small, and the output is very unstable. It is possible to grab the right once an hour or not once a year
in order to stabilize the mining output, miners often choose to join the mining pool. The mining pool integrates the computing power of a large number of miners and occupies a certain share in the total computing power of the whole network, so as to obtain a more stable mining output. After charging 2% ~ 4% of the pool handling charge, the output is distributed to the miners according to the miners' computing power
it's just like that it's hard for one person to win the lottery, so the mine pool organizes many people to buy the lottery together, and after winning the lottery, they are distributed to everyone according to the amount of contribution.
5. 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.
6. All nodes in the four science and technology pools are connected to the main network of filecoin, and then through the unified management of the four science and technology backstage, in case of power failure or external factors, the pool composed of nodes will only attack the risk of a single node, in short, it will protect the miners' income.
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