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

Caching of treasury state #5

Open
dkaidalov opened this issue Apr 13, 2018 · 0 comments
Open

Caching of treasury state #5

dkaidalov opened this issue Apr 13, 2018 · 0 comments

Comments

@dkaidalov
Copy link
Collaborator

In some cases, when the info from past treasury epochs is needed, it is retrieved directly from the blockchain that is stored on disk. It is very inefficient and can fail under huge load.
In many cases, this information can be extracted only one time and cached for future use, probably even before it is really needed.
This mostly affects generation of randomness which requires actions of the committee members from the previous epochs.

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

No branches or pull requests

1 participant