Snapshot

Address Book Updates every 5 hour

wget -O $HOME/.swisstronik/config/addrbook.json https://files.nodeshub.online/testnet/swisstronik/addrbook.json

Snapshot

sudo systemctl stop swisstronik
# Back up priv_validator_state.json if needed
cp ~/.swisstronik/data/priv_validator_state.json  ~/.swisstronik/priv_validator_state.json.backup

# On some tendermint chains
swisstronikd unsafe-reset-all --home $HOME/.swisstronik --keep-addr-book

# On other tendermint chains
swisstronikd tendermint unsafe-reset-all --home $HOME/.swisstronik --keep-addr-book

curl https://files.nodeshub.online/testnet/swisstronik/snapshot/swisstronik_snap.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.swisstronik

mv $HOME/.swisstronik/priv_validator_state.json.backup $HOME/.swisstronik/data/priv_validator_state.json
sudo systemctl restart swisstronik && sudo journalctl -u swisstronik -f -o cat

Last updated