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

Apply the sliding window concept for managing pre-images #767

Closed
3 tasks
linked0 opened this issue Apr 21, 2020 · 0 comments
Closed
3 tasks

Apply the sliding window concept for managing pre-images #767

linked0 opened this issue Apr 21, 2020 · 0 comments
Assignees
Labels
Story-Points:5 This takes 3 to 5 days to complete type-enhancement An improvement of existing functionalities
Milestone

Comments

@linked0
Copy link
Contributor

linked0 commented Apr 21, 2020

Currently, a node uses pre-images created massively like about 100,000 and the pre-images are matched each with the block height. But, there is something to improve for matching each pre-image with block height. The alternative is to apply the sliding window concept. The pre-images can be retrieved based on round and cycle.

Definition of Done:

  • To manage pre-images based on cycle and round.
  • To determine the current round and cycle when restoring all the information when a node needs to restore all the information.
  • To use a PreImageCache in managing pre-images.
@linked0 linked0 added the type-enhancement An improvement of existing functionalities label Apr 21, 2020
@linked0 linked0 added this to the 2. Validator milestone Apr 21, 2020
@bpalaggi bpalaggi added the Story-Points:5 This takes 3 to 5 days to complete label May 6, 2020
@Geod24 Geod24 closed this as completed May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Story-Points:5 This takes 3 to 5 days to complete type-enhancement An improvement of existing functionalities
Projects
None yet
Development

No branches or pull requests

3 participants