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