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-onlyHow To Process Swisstronik Network Testnet Snapshot
Install lz4 if needed
Copy
sudo apt update
sudo apt install snapd -y
sudo snap install lz4Download the snapshot
Copy
wget -O swisstronik_1157224.tar.lz4 http://swisstronik.com/testnet-snapshots/swisstronik/swisstronik_1157224.tar.lz4 --inet4-onlyRestart the service and check the log
Copy
sudo service swisstronikd start && sudo journalctl -u swisstronikd -fLast updated