We want to take in the tendermint state and blocks dbm store then call prune on them.
flags
- --home = path to dbm or data directory
- --blocks = amount of blocks to keep in the store
- --versions = amount of versions to keep in the application dbm
- --backend = dbm backend
- --dbm-directory = the dirstory of your dbm
cosmprund --home <path_to_db> --blocks 10 --versions 4
- take a snapshot of the highest height locally
- save snapshot locally
- restore local snapshot
- run node
- win