Snapshots

Stop the service and reset the data

sudo systemctl stop mantrachaind
cp $HOME/.mantrachain/data/priv_validator_state.json $HOME/.mantrachain/priv_validator_state.json.backup
rm -rf $HOME/.mantrachain/data/*

Download latest snapshot

curl -L https://snapshots.coinhunterstr.com/snap_mantra.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.mantrachain/data
mv $HOME/.mantrachain/priv_validator_state.json.backup $HOME/.mantrachain/data/priv_validator_state.json

Restart the service and check the log

sudo systemctl restart mantrachaind && sudo journalctl -u mantrachaind -f --no-hostname -o cat

Last updated