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

The node has no RPC command to flush all state in memory into the databases in disk #1849

Open
SergioDemianLerner opened this issue Aug 3, 2022 · 0 comments

Comments

@SergioDemianLerner
Copy link
Contributor

It is very important after a long synchronization and also for realistic performance comparisons to make sure that all blockchain state has been flushed to disk.
I encounter this need when testing FlatDB performance. FlatDB uses memory caches that are periodically flushed to disk.

I also implemented this RPC call. I will submit a PR soon.

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