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 04:00 UTC
Pruning | Indexer | Version Tag |
---|---|---|
100/0/19 | null | warden-testnet |
Block | Age | Download |
---|---|---|
453573 | 2 hours | snapshot (7.31 GB) with sha256sum 9c84a2 |
Stop the service
sudo systemctl stop warden-testnet.service
Reset the data and save validator state
cp $HOME/.warden/data/priv_validator_state.json $HOME/.warden/priv_validator_state.json.backup
rm -rf $HOME/.warden/data
Download latest snapshot and recover validator state
curl -L https://snapshots.kjnodes.com/warden-testnet/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.warden
mv $HOME/.warden/priv_validator_state.json.backup $HOME/.warden/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl start warden-testnet.service && sudo journalctl -fu warden-testnet.service -o cat