Snapshot

Address Book Updates every 5 hour

wget -O $HOME/.routerd/config/addrbook.json https://files.nodeshub.online/mainnet/router/addrbook.json

Snapshot

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

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

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

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

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

Last updated