Snapshot

sudo systemctl stop crossfid

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

crossfid tendermint unsafe-reset-all --home $HOME/.crossfi --keep-addr-book 
curl https://snapshots.ndnodes.com/snapshots/crossfi/snapshot-crossfi.ndnodes.lz4 | lz4 -dc - | tar -xf - -C $HOME/.crossfi

mv $HOME/.crossfi/priv_validator_state.json.backup $HOME/.crossfi/data/priv_validator_state.json 

sudo systemctl restart crossfid
sudo journalctl -u crossfid -f --no-hostname -o cat

Last updated