Snapshot

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

Snapshot

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

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

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

curl https://files.nodeshub.online/mainnet/dhealth/snapshot/dhealth_snap.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.dhealth

mv $HOME/.dhealth/priv_validator_state.json.backup $HOME/.dhealth/data/priv_validator_state.json

sudo systemctl restart dhealth && sudo journalctl -u dhealth -f -o cat

Last updated