Snapshot
Address Book Updates every 5 hour
wget -O $HOME/.kopid/config/addrbook.json https://files.nodeshub.online/mainnet/kopi/addrbook.json
Snapshot
sudo systemctl stop kopi
# Back up priv_validator_state.json if needed
cp ~/.kopid/data/priv_validator_state.json ~/.kopid/priv_validator_state.json.backup
# On some tendermint chains
kopid unsafe-reset-all --home $HOME/.kopid --keep-addr-book
# On other tendermint chains
kopid tendermint unsafe-reset-all --home $HOME/.kopid --keep-addr-book
SNAP_URL=$(curl -s https://files.nodeshub.online/mainnet/kopi/snapshot/snap-info.txt | grep "Snapshot_URL" | cut -d ' ' -f 2)
curl ${SNAP_URL} | lz4 -dc - | tar -xf - -C $HOME/.kopid
cp $HOME/.kopid/priv_validator_state.json.backup $HOME/.kopid/data/priv_validator_state.json
sudo systemctl restart kopi && sudo journalctl -u kopi -f -o cat
Last updated