(Citing to fuzzbawl's forum post: https://forum.pivx.org/t/wallet-syncing-issues-and-resolution/1194)


If you just want to attempt to get your client up to speed and on the right chain, I am providing a bootstrap data file below. This is NOT a snapshot! Using this bootstrap will still require the wallet client to verify and validate all of the data contained within, which is the blockchain up to block 910000 in sequential order without any orphans.

Steps to use the bootstrap:

  1. Stop/shutdown your wallet client if it is running.
  2. Delete the 'blocks', 'chainstate', 'sporks' and 'zerocoin' folders from your data directory. (The data directory can be found in these locations depending on your OS)
  3. Download the bootstrap from HERE.
  4. Extract the downloaded zip file, you will see it contains a bootstrap.dat file.
  5. Place the extracted bootstrap.dat file in your data directory.
  6. Start your wallet client.


When your wallet client starts up, you will notice that it begins processing the blocks contained within the bootstrap.dat file. This can be verified when using the GUI wallet as it will say (in the bottom left) Importing blocks from disk.... During this process, network connectivity is NOT required.



Now for the caveat: If your previous attempts to sync/re-sync have led you to an invalid chain and subsequent IP bans from good nodes, you may need to wait out the ban time (default is 24 hours). If you would like to find out if your IP has been banned at any point, send me a message and I can assist.


Linux Command line steps


Here's a oneliner that will do it for you (at your own risk, deletion is involved, make backups of your wallet and backups folder first).  Make sure you use the correct path to your PIVX binaries and the latest bootstrap URL.  For a walkthrough of doing these steps manually, see below.  

~/pivx-3.0.6/bin/pivx-cli stop ; 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} && ~/pivx-3.0.6/bin/pivxd -daemon



Navigate to the PIVX data directory

pi@barry:~ $ cd ~/.pivx
pi@barry:~/.pivx $


Remove the blocks and chainstate folders

pi@barry:~/.pivx $ rm -r blocks
pi@barry:~/.pivx $ rm -r chainstate


Download the bootstrap (Make sure to get the latest bootstrap from the link in step 3 above)

pi@barry:~/.pivx $ wget https://github.com/PIVX-Project/PIVX/releases/download/v2.3.0/pivx-chain-800000-bootstrap.dat.zip

...


Saving to: ‘pivx-chain-800000-bootstrap.dat.zip’

pivx-chain-800000-bootstrap.dat.zip 100%[=====================>]  387.58M  9.71MB/s   in 3.2s

2017-10-07 20:32:26 (9.19 MB/s) - ‘pivx-chain-800000-bootstrap.dat.zip’ saved                                      [31019051/31019051]


Unzip the bootstrap file

pi@barry:~/.pivx $ unzip pivx-chain-800000-bootstrap.dat.zip


Remove the bootstrap zip file (optional)

pi@barry:~/.pivx $ rm pivx-chain-800000-bootstrap.dat.zip


Navigate back home and start the client.  Your path to the binaries may be different

pi@barry:~/.pivx $ cd ~
pi@barry:~ $ pivx-3.0.0/bin/pivxd -daemon
PIVX server starting


You can use pivx-cli getinfo to check on the status, but be aware it will say it is importing blocks for a long time (especially on a pi)




Linux oneliner available here


Related links:

Where is my data directory?

Is there a blockchain snapshot I can download?

What is the difference between a snapshot and a bootstrap?