Snapshot

Address Book Updates every 5 hour

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

Snapshot

sudo systemctl stop titan

# Back up priv_validator_state.json if needed
cp ~/.titan/data/priv_validator_state.json  ~/.titan/priv_validator_state.json.backup.backup

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

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

SNAP_URL=$(curl -s https://files.nodeshub.online/testnet/titan/snapshot/snap-info.txt | grep "Snapshot_URL" | cut -d ' ' -f 2)
curl ${SNAP_URL} | lz4 -dc - | tar -xf - -C $HOME/.titan

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

Last updated