Snapshot

Address Book Updates every 5 hour

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

Snapshot

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

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

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

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

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

Last updated