snrd prune

Prune app history states by keeping the recent heights and deleting old heights.

Usage

snrd prune [pruning-method] [flags]

Flags

app-db-backend
string
The type of database for application and snapshots databases
help
string
for prune
home
string
default:"/Users/prad/.sonr"
The application home directory
pruning-interval
string
Height interval at which pruned heights are removed from disk (ignored if pruning is not ‘custom’),
pruning-keep-recent
string
Number of recent heights to keep on disk (ignored if pruning is not ‘custom’)

Global Flags

broadcast-mode
string
default:"sync"
Transaction broadcasting mode (sync|async)
chain-id
string
Specify Chain ID for sending Tx
fees
string
Fees to pay along with transaction; eg: 10aatom
from
string
Name or address of private key with which to sign
gas-adjustment
float
default:"1"
adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored
gas-prices
string
Gas prices to determine the transaction fee (e.g. 10aatom)
keyring-backend
string
default:"os"
Select keyring’s backend
log_format
string
default:"plain"
The logging format (json|plain)
log_level
string
default:"info"
The logging level (trace|debug|info|warn|error|fatal|panic|disabled or ’*:<level>,<key>:<level>’)
log_no_color
string
colored logs
node
string
default:"tcp://localhost:26657"
<host>:<port> to tendermint rpc interface for this chain
trace
string
out full stack trace on errors

Examples

Basic usage

snrd prune

See Also

  • snrd - Parent command