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

PruneSyncable configurable numRecent params. #3194

Closed
hleb-albau opened this issue Dec 27, 2018 · 2 comments · Fixed by #3195
Closed

PruneSyncable configurable numRecent params. #3194

hleb-albau opened this issue Dec 27, 2018 · 2 comments · Fixed by #3195

Comments

@hleb-albau
Copy link
Contributor

Hi, I am looking a way to adjust pruning to keep last N states, rather than 100.

Can be done by adjusting BaseApp.SetPruning() with addition params.

@alexanderbez
Copy link
Contributor

Yes, this can be done. But we'll need to think of a clean and flexible API that wont break with future changes.

@hleb-albau
Copy link
Contributor Author

@alexanderbez I created PR with simple proposal #3195.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants