Snapshot
Install dependencies, if needed
sudo apt update
sudo apt install lz4 -y
Sync from Snapshot
sudo systemctl stop defundd
cp $HOME/.defund/data/priv_validator_state.json $HOME/.defund/priv_validator_state.json.backup
defundd tendermint unsafe-reset-all --home $HOME/.defund --keep-addr-book
rm -rf $HOME/.defund/data
SNAP_NAME=$(curl -s http://snapshots.l0vd.com/defund/ | egrep -o ">orbit-alpha-1.*\.tar.lz4" | tr -d ">")
curl http://snapshots.l0vd.com/defund/${SNAP_NAME} | lz4 -dc - | tar -xf - -C $HOME/.defund
mv $HOME/.defund/priv_validator_state.json.backup $HOME/.defund/data/priv_validator_state.json
sudo systemctl restart defundd
sudo journalctl -u defundd -f --no-hostname -o cat
Last updated