Snapshot

Address Book Updates every 5 hour

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

Snapshot

sudo systemctl stop mantra

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

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

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

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

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

Last updated