You are viewing a single comment's thread from:

RE: Question about Witness Rewards

in #busy6 years ago

Maybe @jga would have an insight ? Anyway, I'm impressed by this blockchain. I believe good things are necessarily complex and demand hard work to understand. And this here is some complex code with more than one layer of abstraction ... Hat off to its architect.

Sort:  

Hi @felixxx, you are looking the wrong part of the code.

STEEM_PRODUCER_APR_PERCENTis used in the function get_producer_reward(), which was deprecated after Hard Fork 0.16.

The producer_rewardis calculated in this part of the code. That is, the 10% of the actual inflation and weighted in this way:
producer_reward = new_steem_for_witnesses * Witness_type * 21 / ( 1*num_elected + 1*num_miners + 5*num_timeshare )

Where Witness_type=1 for top19 or miner, or Witness_type=5for the rest of witnesses.

In other words, each round has 21 witnesses, the top 19 is always here and have a weight of 1. The other 2 witnesses are selected from the rest and have a weight of 5 to compensate their low income.

The more near you are from the top 19 the more rewards you will get. Maybe you have more votes than last year and this is the reason you have more vests per block.

I have been told that others Steem inflation rates decrease over time.

Looking at your graph I see that in small periods of time the rewards tend to decrease. I think this is a consequence of decreasing the inflation, added to the fact that STEEM_PER_MVESTS increase over time.

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.031
BTC 57410.43
ETH 2916.25
USDT 1.00
SBD 3.67