SNAPSHOT=$(curl -s https://roomit.xyz/snapshot/mainnet/crossfi/ | grep -i "<a href=" | grep lzma | grep -v md5sum | awk -F"=" '{print $2}' | sed 's/"//g' | sed "s/>//g" | sed "s/ //g")
wget -c https://roomit.xyz/snapshot/mainnet/crossfi/${SNAPSHOT} --inet4-only
sudo systemctl stop crossfi-node
Notes : for systemd init blockchain, adjust with your name of service. systemctl stop mineplex-chaind
cp ${HOME}/.mineplex-chain/data/priv_validator_state.json ${HOME}/.mineplex-chain/priv_validator_state.json
mineplex-chaind tendermint unsafe-reset-all --home $HOME/.mineplex-chain --keep-addr-book
lzma -d -c ${SNAPSHOT} | tar -xv -C $HOME/.mineplex-chain
cp ${HOME}/.mineplex-chain /priv_validator_state.json ${HOME}/.mineplex-chain/data/priv_validator_state.json
sudo systemctl start crossfi-node