Snapshot

Address Book Updates every 5 hour

wget -O $HOME/.fxcore/config/addrbook.json https://files.nodeshub.online/testnet/functionx/addrbook.json

Snapshot

sudo systemctl stop functionx

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

# On other tendermint chainsReser data folder
fxcored tendermint unsafe-reset-all --home $HOME/.fxcore --keep-addr-book

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

cp $HOME/.fxcore/priv_validator_state.json.backup $HOME/.fxcore/data/priv_validator_state.json
sudo systemctl restart functionx && sudo journalctl -u functionx -f -o cat

Last updated