Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 537 Bytes

design.md

File metadata and controls

26 lines (18 loc) · 537 Bytes

Design

We want to take in the tendermint state and blocks dbm store then call prune on them.

CMD

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

Snapshot

  • take a snapshot of the highest height locally
  • save snapshot locally
  • restore local snapshot
  • run node
  • win