Created
May 26, 2018 18:12
-
-
Save TravisMullen/a63b06d64d203eb5977f86fc27ea3f74 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# pivx-xli stop | |
sudo systemctl disable pivxd | |
sudo systemctl stop pivxd | |
cp ./.pivx/wallet.dat ./wallet.PIVXbootstrapBackup.dat | |
cp ./.pivx/pivx.conf ./pivx.PIVXbootstrapBackup.conf | |
wget -O- -O ./.pivx/tmpbootstrap.zip https://github.com/PIVX-Project/PIVX/releases/download/v3.0.5.1/pivx-chain-910000-bootstrap.dat.zip | |
unzip ./.pivx/tmpbootstrap.zip -d ./.pivx | |
rm -rf ./.pivx/{blocks,chainstate,sporks,zerocoin,tmpbootstrap.zip} | |
# pivxd -daemon | |
sudo systemctl start pivxd | |
sudo systemctl enable pivxd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment