You can use the node snapshot below to get the block height
according to the latest snapshot file we uploaded, we usually
update the snapshot every 12/24 hours "UTC". With node
snapshots, you can save storage space and time to sync your
nodes.
Our Prune Configuration
pruning = "custom"
# applied pruning strategy
pruning-keep-recent = "100"
pruning-interval = "10"
Snapshot Info
Instructions with terminal
Note*
- If snapshot info doesn't show data, it means our server is down.sudo apt install lz4 -y
sudo systemctl stop swisstronikd
systemctl --user stop swisstronikd
For Validator node
# default path
# $HOME/.swisstronik/config/priv_validator_key.json
cp $HOME/.swisstronik/data/priv_validator_state.json $HOME/.swisstronik/priv_validator_state.json.bak
swisstronikd tendermint unsafe-reset-all --home $HOME/.swisstronik --keep-addr-book
curl -o - -L https://snapshot-ind.genznodes.dev/swisstronik/swisstronik-testnet-5750921.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.swisstronik
mv $HOME/.swisstronik/priv_validator_state.json.bak $HOME/.swisstronik/data/priv_validator_state.json
sudo systemctl restart swisstronikd
journalctl -fu swisstronikd -o cat
systemctl --user restart swisstronikd
journalctl --user -fu swisstronikd -o cat