You are viewing a single comment's thread from:

RE: Hive vs Steem Stats - Friday, May 22, 2020

in Hive Statistics5 years ago (edited)

Greetings @penguinpablo, I congratulate you and thank you for the great work you are currently doing in Hive, I am writing this time with the purpose of asking you a question about how the reward system works, what is the exact formula to calculate the power value based on HP, RewardBalance and RecentClaims considering the current linear convergent curve?

Sort:  

Here's the formula I use:

steem_per_rshares = reward_balance / recent_claims;
used_power = parseInt(((votingpower * 100) * (vote_weight * 100)) / 10000);
used_power = parseInt((used_power +49) / 50);
rshares = parseInt(account_vesting_shares_available * used_power * 100);
rshares_convergent_linear = ( ( rshares + 2000000000000 ) * ( rshares + 2000000000000 ) - 2000000000000 * 2000000000000 ) / ( rshares + 8000000000000 );
vote_value_sbd = rshares_convergent_linear * steem_per_rshares * steem_price_sbd;