You are viewing a single comment's thread from:
RE: Question about Witness Rewards
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.
Hi @felixxx, you are looking the wrong part of the code.
STEEM_PRODUCER_APR_PERCENT
is used in the functionget_producer_reward()
, which was deprecated after Hard Fork 0.16.The
producer_reward
is 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, orWitness_type=5
for 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.
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.