Staking Power
The staking power of a validator, denoted as W_i for validator i, is a combination of their PoI score, PoSp score, and coin stake. These components are weighted by coefficients that change based on network conditions: W_i = α(t) × PoI_Score_i + β(t) × PoSp_Score_i + γ(t) × Stake_i


Where
α(t) = 0.3 × (1 - ValidatorCount(t)/MaxValidators): This adjusts the PoI weight based on how many validators are active compared to the maximum allowed. It encourages participation when fewer validators are active.
β(t) = 0.3 × AveragePoSpScore(t)/PoSp_Score_i: This scales the PoSp contribution based on how the validator's storage capacity compares to the network average, rewarding those who provide more than average.
γ(t) = 0.4 × (1 + StakeVariance(t)/Stake_i): This adjusts the stake weight based on how spread out the stakes are across validators, favoring those with stakes closer to the median to promote decentralization.

Example Calculation Consider a validator i with
PoI_Score_i = 950,000
PoSp_Score_i = 0.0099
Stake_i = 1,000 coinsAnd network conditions:
ValidatorCount(t) = 50, MaxValidators = 100
AveragePoSpScore(t) = 0.01
StakeVariance(t) = 500
First, calculate the coefficients: α(t) = 0.3 × (1 - 50/100) = 0.3 × 0.5 = 0.15 β(t) = 0.3 × 0.01/0.0099 ≈ 0.3 × 1.0101 ≈ 0.303 γ(t) = 0.4 × (1 + 500/1,000) = 0.4 × 1.5 = 0.6
Now compute W_i: W_i = 0.15 × 950,000 + 0.303 × 0.0099 + 0.6 × 1,000 W_i = 142,500 + 0.002997 + 600 = 143,100.002997 ≈ 143,100.003
This method ensures staking power reflects both individual efforts and the network's overall state, making it fair and adaptable.
