Skip to content

Instantly share code, notes, and snippets.

@fatihyildizhan
Last active November 24, 2018 19:38
Show Gist options
  • Save fatihyildizhan/9c36c52c912cad0bd145b210ea078cd4 to your computer and use it in GitHub Desktop.
Save fatihyildizhan/9c36c52c912cad0bd145b210ea078cd4 to your computer and use it in GitHub Desktop.
echo "begin"
cd RLN.V.1.0/src/
./lotus-cli stop
cd ..
cd ..
sleep 3
cd .lotuscore
ls
rm banlist.dat
rm .cookie
rm fee_estimates.dat
rm mnpayments.dat
rm -r blocks
rm db.log
rm governance.dat
rm masternode.conf
rm netfulfilled.dat
rm -r backups
rm -r chainstate
rm debug.log
rm .lock
rm mncache.dat
rm peers.dat
ls
sleep 3
cd ..
cd RLN.V.1.0/src/
./lotusd
sleep 3
./lotus-cli masternode start
sleep 3
./lotus-cli masternode status
echo "end"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment