Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of consolidating rewards on start #1313

Merged
merged 8 commits into from
May 31, 2022

Conversation

prasannavl
Copy link
Member

/kind feature

Adds support for:

  • -consolidaterewards
  • -consolidaterewards=<tokensymbol>

Eg: -consolidaterewards=AMZN-DUSD

will result in pre-optimisation of the rewards calculations for the all the addresses in that pool on startup so that token split block is smooth. This is safe to run any number of times, for any number of tokens.

-consolidaterewards without any option will pre-optimize for every single address on startup. So the rest of the validation phase is faster.

@prasannavl
Copy link
Member Author

/kind feature

@prasannavl prasannavl force-pushed the pvl/consolidaterewards-on-start branch from 2425b36 to a58c785 Compare May 31, 2022 07:39
@prasannavl prasannavl force-pushed the pvl/consolidaterewards-on-start branch from 50c1e59 to 5cb3dd2 Compare May 31, 2022 07:51
@prasannavl prasannavl merged commit 2dd940d into master May 31, 2022
@prasannavl prasannavl deleted the pvl/consolidaterewards-on-start branch May 31, 2022 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants