Snapshots allows a new node to join the network by recovering application state from a backup file. Snapshot contains compressed copy of chain data directory. To keep backup files as small as plausible, snapshot server is periodically beeing state-synced.
Snapshots are taken automatically every 6 hours starting at 02:45 UTC
Pruning | Indexer | Version Tag |
---|---|---|
100/0/19 | null | mantra-testnet |
Block | Age | Download |
---|---|---|
530159 | 4 hours | snapshot (0.63 GB) with sha256sum 4bf7e9 |
Stop the service and reset the data
sudo systemctl stop mantra.service
cp $HOME/.mantrachain/data/priv_validator_state.json $HOME/.mantrachain/priv_validator_state.json.backup
rm -rf $HOME/.mantrachain/data
Download latest snapshot
curl -L https://snapshots.kjnodes.com/mantra-testnet/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.mantrachain
mv $HOME/.mantrachain/priv_validator_state.json.backup $HOME/.mantrachain/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl start mantra.service && sudo journalctl -u mantra.service -f --no-hostname -o cat