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

dot/state: move tries older than the last finalized trie to disk #2321

Closed
qdm12 opened this issue Feb 21, 2022 · 1 comment
Closed

dot/state: move tries older than the last finalized trie to disk #2321

qdm12 opened this issue Feb 21, 2022 · 1 comment

Comments

@qdm12
Copy link
Contributor

qdm12 commented Feb 21, 2022

Task summary

Right now we store each block state trie for each finalized block in memory.
We should just have the last finalized trie in memory since it will reference all nodes (even from previous tries) and we don't need the previous tries as far as I know. The older tries should be stored on disk.

To confirm with Elizabeth.

@qdm12 qdm12 added the trie label Feb 21, 2022
@qdm12 qdm12 changed the title Move tries older than the last finalized trie to disk dot/state: move tries older than the last finalized trie to disk Feb 21, 2022
@noot
Copy link
Contributor

noot commented Mar 17, 2022

I think this was closed by @timwu20 ? please reopen if not

@noot noot closed this as completed Mar 17, 2022
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

3 participants