Snapshot

Chain ID: swisstronik_1291-1

Snapshots enable a new node to connect to the network by restoring the application state from a backup file. Each snapshot contains a compressed version of the chain data directory. To minimize the size of these backup files, the snapshot server periodically undergoes state synchronization.

Node snapshot are taken periodically on a needed basis for testnet.

Stop the service and reset the data

Copy

sudo service swisstronik stop
cp $HOME/.swisstronik/data/priv_validator_state.json $HOME/.swisstronik/priv_validator_state.json.backup
swisstronikd tendermint unsafe-reset-all --keep-addr-book --home $HOME/.swisstronik -O swisstronik_1157224.tar.lz4 http://swisstronik.com/testnet-snapshots/swisstronik/swisstronik_1157224.tar.lz4 --inet4-only

How To Process Swisstronik Network Testnet Snapshot

Install lz4 if needed

Copy

sudo apt update
sudo apt install snapd -y
sudo snap install lz4

Download the snapshot

Copy

wget -O swisstronik_1157224.tar.lz4 http://swisstronik.com/testnet-snapshots/swisstronik/swisstronik_1157224.tar.lz4 --inet4-only

Restart the service and check the log

Copy

sudo service swisstronikd start && sudo journalctl -u swisstronikd -f

Last updated