9

My understanding is that --pruning remove the old trie nodes but does not delete the content of the blocks, is there a way to also delete the blocks/transaction up to some point and only keep states to save on storage.

1 Answer 1

5

If you run with --keep-blocks=256 you will prune all blocks that are 256 blocks behind the last finalized block. Block pruning is disabled by default.

3
  • How to enable block pruning in configuration ? Commented Apr 1, 2022 at 7:10
  • In what configuration?
    – bkchr
    Commented Apr 1, 2022 at 10:49
  • This article explains the validator pruning options blog.radiumblock.com/…
    – Luna
    Commented Apr 5, 2022 at 5:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.