github.com/palisadeinc/bor@v0.0.0-20230615125219-ab7196213d15/docs/cli/snapshot_prune-state.md (about) 1 # Prune state 2 3 The ```bor snapshot prune-state``` command will prune historical state data with the help of the state snapshot. All trie nodes and contract codes that do not belong to the specified version state will be deleted from the database. After pruning, only two version states are available: genesis and the specific one. 4 5 ## Options 6 7 - ```datadir```: Path of the data directory to store information 8 9 - ```keystore```: Path of the data directory to store keys 10 11 - ```datadir.ancient```: Path of the ancient data directory to store information 12 13 - ```bloomfilter.size```: Size of the bloom filter (default: 2048) 14 15 ### Cache Options 16 17 - ```cache```: Megabytes of memory allocated to internal caching (default: 1024) 18 19 - ```cache.trie```: Percentage of cache memory allowance to use for trie caching (default: 25) 20 21 - ```cache.trie.journal```: Path of the trie journal directory to store information (default: triecache)