Pruning Settings #2771
Replies: 2 comments 14 replies
-
Looking at the code (https://github.com/paritytech/polkadot-sdk/blob/7f7f5fa857502b6e3649081abb6b53c3512bfedb/substrate/client/cli/src/params/pruning_params.rs#L38-L39), looks like I started my node with |
Beta Was this translation helpful? Give feedback.
-
This is not Acala specific so best to ask at http://github.com/paritytech/polkadot-sdk or http://substrate.stackexchange.com as there will be more people able to help. To answer your question: Pruning mode cannot be changed AFAIK so you will need to resync the node |
Beta Was this translation helpful? Give feedback.
-
Hello,
We just want to keep history for the last month, which in the case of Acala and Karura is about 200k blocks.
What are the correct parameters/flags to enable pruning?
--pruning 200000
or--state-pruning 200000 --blocks-pruning 200000
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions