Snapshots

Stop the service and reset the data

sudo systemctl stop union-testnet.service
cp $HOME/.union/data/priv_validator_state.json $HOME/.union/priv_validator_state.json.backup
rm -rf $HOME/.union/data

Download latest snapshot

curl -L https://snapshots.coinhunterstr.com/testnet/union/snapshot_latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.union
mv $HOME/.union/priv_validator_state.json.backup $HOME/.union/data/priv_validator_state.json

Restart the service and check the log

sudo systemctl start union-testnet.service && sudo journalctl -u union-testnet.service -f --no-hostname -o cat

Last updated