Snapshot

Address Book Updates every 5 hour

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

Snapshot

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

# Reset Data Dir
atomoned tendermint unsafe-reset-all --home $HOME/.atomone --keep-addr-book

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

cp $HOME/.atomone/priv_validator_state.json.backup $HOME/.atomone/data/priv_validator_state.json

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

Last updated