pruningparameter in the
~/.bitsongd/config/app.tomlfile. The following pruning state settings are available:
everything: Prune all saved states other than the current state.
nothing: Save all states and delete nothing.
default: Save the last 100 states and the state of every 10,000th block.
custom: Specify pruning settings with the
defaultmode which is the recommended setting for most environments. If you would like to change your nodes pruning strategy then you must do so when the node is initialized. Passing a flag when starting
bitsongdwill always override settings in the
app.tomlfile, if you would like to change your node to the
everythingmode then you can pass the
---pruning everythingflag when you call
Note: When you are pruning state you will not be able to query the heights that are not in your store.