Skip to content

Instantly share code, notes, and snippets.

@TravisMullen
Created May 26, 2018 18:12
Show Gist options
  • Save TravisMullen/a63b06d64d203eb5977f86fc27ea3f74 to your computer and use it in GitHub Desktop.
Save TravisMullen/a63b06d64d203eb5977f86fc27ea3f74 to your computer and use it in GitHub Desktop.
#!/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