Re-sync PIVX Wallet

in pivx •  7 years ago 

My Pivx wallet was stuck and keeps crashing. I found a solution and wanted to share it here. I hope this will help others as well.

This is a copy of the original post by jakiman on PIVX forum. Click here to view original post https://forum.pivx.org/t/faq-for-wallet-issues/878.

Q1. Wallet crashes or has crashed and now won’t launch. Fails every time. What do I do?
An abnormal exit of the wallet could result in a blockchain inconsistency from that point onwards. This can happen due to a PC reboot without first closing the wallet gracefully or if the existing locally downloaded blockchain somehow got corrupt (due to environmental issues etc) and cause the wallet to crash.

From wallet release v2.2.1 onwards, it has been made to auto-recover from a blockchain corruption upon launch. So if you are running v2.2.0, first upgrade to v2.2.1 and then see if that resolves your problem. (link to v2.2.1 above)**

If users still experience wallet launch failures with the new v2.2.1+ wallet, it is suggested that they try using the -forcestart startup flag (e.g.In Windows OS, you need to edit the shortcut and append it at the end) which will bypass the new procedures altogether, and in rare cases allow the wallet to run.

If the wallet startup issue is not fixed by upgrading to v2.2.1 and/or the -forcestart flag, the user should resync the blockchain as per steps below.

As you are not deleting the conf and wallet.dat file, this will not affect your coins nor your masternodes.

  1. Delete the files pointed in red arrow in the following image:
    (default folder locations are listed under Question 3 below)

  1. Now re-launch the wallet. Wait for it to Sync. This can take few hours on slower internet connection.

Also, it is recommended that after a successful full resync, make a backup of your good blockchain as this "good" blockchain snapshot could come handy later and means you'll be able to avoid a full resync if your chain gets corrupt again. To make a backup of the good blockchain, follow the steps outlined in Q5 below.

Now, if you face a corrupt blockchain again, just delete the 2 folders chainstate & blocks only, copy over the good backup blocks & chainstate folders, then restart the wallet.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

谢谢分享钱包使用心得。

Nice blog. I was about to post a similair thread. The crypto space brings the biggest group of uneducated investors with it. This group will only grow. This means markets will be as irrational as this big group of uneducated investors. I found this great website: https://www.coincheckup.com Supposingly they researched every crypto coin in the scene based on: the team, the product, advisors, community, the business and the business model. They even score the coins stengths. Go to: https://www.coincheckup.com/coins/PIVX#analysis For a complete PIVX Investment research.

Hi kimberlee17, you are absolutely right! This is such an exciting space and time to be in.