Snapshot
Address Book Updates every 5 hour
wget -O $HOME/.0gchain/config/addrbook.json https://files.nodeshub.online/testnet/0gchain/addrbook.json
Snapshot updated Every 6 hours
sudo systemctl stop og
# Back up priv_validator_state.json if needed
cp ~/.0gchain/data/priv_validator_state.json ~/.0gchain/priv_validator_state.json.backup
# On some tendermint chains
0gchaind unsafe-reset-all --home $HOME/.0gchain --keep-addr-book
# On other tendermint chains
0gchaind tendermint unsafe-reset-all --home $HOME/.0gchain --keep-addr-book
curl https://files.nodeshub.online/testnet/og/snapshot/og_snap.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.0gchain
mv $HOME/.0gchain/priv_validator_state.json.backup $HOME/.0gchain/data/priv_validator_state.json
sudo systemctl restart og && sudo journalctl -u og -f -o cat
Last updated