Snapshot

Address Book Updates every 5 hour

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

Snapshot

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

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

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

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

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

Last updated