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

Refactor PotVerifier to prune slots, instead of using LRU #3273

Open
nazar-pc opened this issue Dec 2, 2024 · 0 comments
Open

Refactor PotVerifier to prune slots, instead of using LRU #3273

nazar-pc opened this issue Dec 2, 2024 · 0 comments
Labels
nice-to-have Non-critical but nice to have node Node (service library/node app) refactor

Comments

@nazar-pc
Copy link
Member

nazar-pc commented Dec 2, 2024

Right now we use LRU with a number of slots that works most of the time, but it should be possible to replace that with tracking of slots and remove slots as they become unreachable (for example block below depth of 100). This will reduce memory usage for typical scenarios.

@nazar-pc nazar-pc added this to the Protocol UX Improvements milestone Dec 2, 2024
@nazar-pc nazar-pc added refactor node Node (service library/node app) nice-to-have Non-critical but nice to have labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nice-to-have Non-critical but nice to have node Node (service library/node app) refactor
Projects
Development

No branches or pull requests

1 participant