Snapshots

How to use


curl -o - -L https://snapshots.bharvest.dev/mainnet/canto/canto_10392396.tar.lz4 | lz4 -c -d - | tar -x 

Configurations for our node


Our snapshotting node's configuration is here.

app.toml

# Prune Type
pruning = "custom"

# Prune Strategy
pruning-keep-recent = "100"
pruning-keep-every = "0"
pruning-interval = "10"

config.toml

indexer = "null"

Are you validator?


If you are running validator node, priv_validator_state.json file is very important.

Thus, we recommand you using a pre-reviewed script. here is simple script to download snapshot.

export NODE_HOME="your node home. eg) /data/.axelar/"

cd $NODE_HOME
cd data
mv priv_validator_state.json ..
rm -r *
cd ..
wget ${SNAPSHOT_URL} | lz4 -d | tar -xvf -

mv priv_validator_state.json data/

Last updated