Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Improve new inflation estimation #332

Open
arhag opened this issue Sep 9, 2019 · 1 comment
Open

Improve new inflation estimation #332

arhag opened this issue Sep 9, 2019 · 1 comment

Comments

@arhag
Copy link
Contributor

arhag commented Sep 9, 2019

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.

@deckb
Copy link
Contributor

deckb commented Apr 21, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants