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

allow to configure retain_height of CometBFT blocks #4326

Open
tzemanovic opened this issue Feb 5, 2025 · 0 comments
Open

allow to configure retain_height of CometBFT blocks #4326

tzemanovic opened this issue Feb 5, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@tzemanovic
Copy link
Member

In ABCI Commit response we currently return 0 for retain_height which means no pruning. We could allow to configure this per node, but by default it should be set to no pruning: "If all nodes in the network remove historical blocks then this data is permanently lost, and no new nodes will be able to join the network and bootstrap, unless state sync is enabled on the chain. Historical blocks may also be required for other purposes, e.g. auditing, replay of non-persisted heights, light client verification, and so on." (excerpt from CometBFT docs)

@tzemanovic tzemanovic added the enhancement New feature or request label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant