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

Make TriesInMemory configurable through CLI config #33

Merged
merged 2 commits into from
Feb 28, 2023

Conversation

FabricPark
Copy link

@FabricPark FabricPark commented Feb 24, 2023

In this PR we introduced a new flag cache.triesinmemory ( default : 128 ). With this change, a user can modify the number of block states ( tries ) to be stored in the memory.

When operating a node in a full node rather than an archive node, it is difficult to check the state data at the time of block that has passed because the state is quickly pruned in only 128 blocks. It would be useful to be able to adjust the number of block states that may be stored in memory.

@sadoci sadoci merged commit 27c70b9 into wemixarchive:dev Feb 28, 2023
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

Successfully merging this pull request may close these issues.

2 participants