Phase II: PoW - Advanced

Output Model

The output is completely determined by the CPU computing power. The miner can customize the appropriate strategy according to its own computing power. We describe the mining difficulty as m4-m64. For example, m4 represents the mint hash value starting with "OΓ—0000" as a valid, m6 represents the mint hash value starting with "0Γ—000000" as a valid value. The miner can do it by itself before deciding on mint.

DPoS points & Computational Power

In the IERC protocol, the mining output of PoW (Proof of Work) is entirely dependent on the computational power of the miners. Miners can customize their mining difficulty by evaluating their own computational power and choosing an appropriate strategy. The levels of effective mining difficulty range from m4 to m64, where the m4 level signifies that the effective Mint hash value starts with "0x0000," while the m6 level indicates that the hash value starts with "0x000000."

When miners decide on the desired mining difficulty and successfully find a hash value that meets the criteria, they need to pay a certain amount of gas fees to have the Mint transaction added to the blockchain. The mined block reward is calculated using the following formula:

  1. The formula for calculating the weight of PoW is as follows:

    Weight=10mβˆ’4Weight=10^{mβˆ’4}

  • WeightWeight represents the proportion of rewards allocated to the miner in that block, and m represents the selected mining difficulty level.

  1. The formula for calculating the PoW reward is as follows:

Rewards=WeightWeightTΓ—(BlockRewardsΓ—RatioPoWΓ—(1+LastEmptyCount))Rewards=\frac{Weight}{Weight_T}Γ—(BlockRewardsΓ—Ratio_{PoW}Γ—(1+LastEmptyCount))

  • RewardsRewards represent the mining rewards that a miner can obtain in the current block.

  • WeightTWeight_T represents the total sum of the weights of all valid mining activities in the current block.

  • BlockRewardsΓ—RatioPoWBlockRewardsΓ—Ratio_{PoW} represents the PoW output reward for each block. For example, in the first two years, the block reward is 50% of the base reward, which is 50% of 1000 inscriptions. Afterwards, the block reward is halved every two years.

  • LastEmptyCountLastEmptyCount represents the number of consecutive blocks without valid PoW transactions in the previous block or blocks. This value will increase the reward for subsequent blocks until a valid transaction is generated.

This reward mechanism ensures that as the mining difficulty increases, miners have the potential for higher profits. It also encourages continuous network participation and provides cumulative rewards for blocks without transactions, thus providing strong motivation for miners to continue contributing their computational power even during periods of lower participation.

  1. In the first scenario, at BlockNumber X,

There are four miners participating in mining: A, B, C, and D. A and B choose mining difficulty level m4, C choose m5, and D choose m6. According to the PoW weight calculation formula, The weights of A and B are 104βˆ’4=100=110^{4βˆ’4}=10^{0}=1, the weight of C is 105βˆ’4=101=1010^{5-4}=10^1=10 , the weight of D is 106βˆ’4=102=10010^{6-4}=10^2=100. If the block reward is 1000 ticks and the PoW output ratio is 50%, then each of miners A and B will receive 1112βˆ—500=4.46\frac{1}{112}*500=4.46 Ticks, miner C will receive 10112βˆ—500=44.64\frac{10}{112}*500=44.64 Ticks, and miner D will receive 100112βˆ—500=446.42\frac{100}{112}*500=446.42 Ticks.

  1. In the second scenario, at BlockNumber X+1,

No miner successfully mines the block, meaning that the block is empty. According to the IERC protocol, the reward for this block will not disappear but will accumulate and be carried over to the next block. This means that the reward for the next block will increase as a result.

  1. In the third scenario, at BlockNumber X+2,

After the previous empty block, miners E, F, and G successfully mine new blocks. Suppose miner F chooses the difficulty level m5, while miners E and G both choose the difficulty level m6. According to the previous weight calculation, the weight of F is 105βˆ’4=101=1010^{5-4}=10^1=10, and the weights of E and G are 106βˆ’4=102=10010^{6-4}=10^2=100. Since the previous block was empty, according to the reward calculation formula, the LastEmptyCountLastEmptyCount is 1, which will increase their rewards. If we assume that the base block reward is still 1000 ticks, then the reward that miner F will receive are 10210βˆ—(500+500)=47.61\frac{10}{210}*(500+500)=47.61 Ticks, and the rewards that miners E and G will receive are 100210βˆ—(500+500)=476.19\frac{100}{210}*(500+500)=476.19 Ticks.

Last updated