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 05:15 UTC
Pruning | Indexer | Version Tag |
---|---|---|
100/0/19 | null | ganjarevolutionburn |
Block | Age | Download |
---|---|---|
16715378 | 55 minutes | snapshot (12.64 GB) with sha256sum 2415fa |
Stop the service
sudo systemctl stop bitcanna.service
Reset the data and save validator state
cp $HOME/.bcna/data/priv_validator_state.json $HOME/.bcna/priv_validator_state.json.backup
rm -rf $HOME/.bcna/data
Download latest snapshot and recover validator state
curl -L https://snapshots.kjnodes.com/bitcanna/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.bcna
mv $HOME/.bcna/priv_validator_state.json.backup $HOME/.bcna/data/priv_validator_state.json
Restart the service and check the log
sudo systemctl start bitcanna.service && sudo journalctl -fu bitcanna.service -o cat