IPFS / FIL big miners get double or even triple rewards on a block?

0 33
Avatar for Doing
Written by
4 years ago

The Filecoin testnet will start the second phase in April. So far, both the miners and investors have been very interested in the data of the testnet. The most important thing is the computing power and block rankings. Bursts are put together for comparison. But more people have come to a misunderstanding and were biased by the rhythm. Today, let's talk about how to view the hash power and burst of the test network.

Take the following figure as an example:

The large area in the figure is the number of blocks at each height in the recent period, and different colors are used to show which miners produced these blocks.

On the right side of the figure is an average burst rate leaderboard. The calculation of this ranking is based on nearly an hour of burst data.

Take the first miner as an example. The burst rate is 0.73, which indicates that at an altitude of 73%, the miner has a burst. In Testnet / 2, the block time is 45 seconds, so an hour contains a total of 60 * 60/45 = 80 epochs, that is, the miner has about 58 blasts in an hour. And get block rewards.

One more thing to note is that the block explosion rate on the right side of the figure does not add up to 1, because the number of blocks generated in each round is not 1. If we count the burst ratios of all miners, then all these ratios should add up to the average of the number of bursts per round. This value is shown in the following figure:

After learning to watch the block, the next step is today's focus.

During discussions with community friends, a friend asked, is it true that in the Filecoin testnet, the reward for a large miner to dig a block is multiples of the small and medium miners? 2 times or 3 times?

Why is there such a problem? When looking at the testnet data, you may find that the reward brought by this burst rate shows that the burst rate is not proportional to the computing power, especially for large miners, the high burst rate is relatively low, but this is how it returns. What happened?

In fact, some people can get multiple rewards on a block.

Each round of Filecoin is a block set called tipset. This is done to minimize the number of rounds without blocks (ie, empty block rounds). At present, the test net is to increase the number of blocks to reduce the number of empty blocks. At present, the number of blocks is designed to be 5. In other words, currently there may be 5 blocks bursting at a height, and the probability of each miner producing blocks per round increases to 5 times the original.

In order for miners who explode two blocks or more at a height to get the rewards they deserve, at present, as long as a few blocks are indicated in a block, and they are verified, the area is given according to the number of blocks. Block reward. If a miner explodes 3 blocks at a height, then he can get three block rewards.

Because the block power is proportional to the computing power, the probability of obtaining the block power with a high computing power is high, and the probability of having multiple block powers in a round is also higher.

However, back to Testnet / 2, at present, the block reward is not actually given according to the block production right. This part of the implementation is put into Testnet / 3. That is to say, starting from Testnet / 3, you will see the block reward implementation basically consistent with the mainnet. Testnet / 3 also started last week. After that, interested friends can pay special attention to Testnet / 3.

Let's go back to the question just now. If the theory does not intuitively show that the block reward obtained by the large Filecoin miners is two or three times that of the small and medium miners, then we do a simulation.

Based on the operation of the current test network, we assume:

1. The expected number of blocks per round is 5 (in accordance with the Testnet / 2 setting)

2. Assume that the number of miners in the entire network is 11, which meets the binomial distribution (this is more in line with the current test network situation, and according to previous network simulations, this scale can simply reflect the situation of large networks)

3. The network meets the ideal situation mentioned above, that is, all miners work normally, block production is normal, and there are no lone blocks.

Taking the miner with ID 1 as an example, its hashrate is 24.61%, the highest in the network, and the right to produce blocks is as high as 70.87% (theoretical burst rate is 1-29.13). It can be seen that a miner with a computing power of 24.6% has a great chance to include multiple block production rights in a block, thereby obtaining a higher profit than the number of blocks.

Then let's look at it from another angle, and compare the relationship between the block explosion rate and the number of block production votes for each of the above 11 miners.

Also taking Miner 1 as an example, his bursting rate is 70.87% (theoretical bursting rate is 1-29.13), and the block production right reaches 123.05%, which means that on average 100 rounds of block production, it can obtain 123.05 block production rights. With a current weighting block of about 43 FIL, it can get 5291 FIL in 100 rounds.

If the statistics are based on the blocks that are actually produced, the average yield per block should be 1.736 times (123.05 / 70.87).

And this further proves that large miners have more computing power and more block production rights on a block height, so they get more rewards on a block than small and medium miners.

Your friend Doing, your blockchain information assistant!

Just like it and go!

Cheers! 

1
$ 0.00
Avatar for Doing
Written by
4 years ago

Comments