eosio.contracts icon indicating copy to clipboard operation
eosio.contracts copied to clipboard

Improve new inflation estimation

Open arhag opened this issue 6 years ago • 1 comments

From @zorba80's comment here:

When calculating new_tokens, we use the approximation 1 + r_c * dt for exp(r_c * dt) which is valid for small r_c and dt (dt approx 1/365). Now that we allow large inflation rates, this approximation might not be valid anymore (quadratic term might not negligible) and we have to use the full exponential instead.

arhag avatar Sep 09 '19 17:09 arhag

With the introduction of staking based rewards and the move to vote based rewards to producers is this issue still relevant?

deckb avatar Apr 21 '21 14:04 deckb