Hi Everyone, This is for those who have rebuild wallet, balance, double spend issues. I've been having issues with my balance and have been getting the double spend error when trying to purchase POS tickets since 0.0.7. I attempted to resync to my seed several times and kept getting an incorrect balance. I updated to 0.0.8 when it was released and did the same, with the same results. I think I finally know the answer to why so many people are having this same problem. Steps (for Windows users) 1. Navigate to Users/User/AppData/Local 2. Rename existing "Dcrd" folder to "Dcrd old", and "Dcrwallet" to 'Dcrwallet old". If things go wrong, you can revert and have your existing build intact. 3. Open your cmd window and run: "dcrd --rpcuser [yourrpcusername] --rpcpass [yourrpcpassword] Allow the daemon to completely sync to the current block before going to the next step (I believe creating the wallet while the dcrd window was not completely synced is the cause of everyone's problems) 4. Open another cmd window and run: "dcrwallet --create" Then, enter your private pass, public pass, and seed....that should get you going and you probably are familiar with the rest. Optional I'm not sure if this helped or not, but I did it anyway: After you have allowed dcrd to completely sync and catch up, and have restored your wallet, you can run your wallet with this command: dcrwallet --username [walletuser] --password [walletpass] --dcrdusername=[rpcuser] --dcrdpassword=[rpcpass] --walletpass [publicpass] -d debug This is reference @ceejep post here: https://forum.decred.org/threads/mainnet-stake-pool-is-live.1256/page-7#post-14794 After you've completed these steps, your wallet balance should be accurate and you should be able to buy stake tickets again. Remember, the critical step seems to be allowing the daemon to completely sync before restoring your wallet. Also, I have not had to use the consolidate command. So those of you having issues, may want to try this first to save on some transaction fees. Edit: @davecgh @_ingsoc Just FYI since you guys are active here. Edit 2: I've done this a second time on my cold wallet PC, and can confirm that everything is completely synced up - balance & stake info. Edit 3: Some of your balances may have been displaying incorrectly before if you were affected by the bug. If feasible, please calculate what you've made and spent manually and compare to the balances. I added up what I received from airdrop + POW + POS and the balance I can see after this procedure was more accurate than before. The incorrect display of balances may be the cause of some confusion and frustration.
Really? It worked for me twice. I double checked my balance by manually looking at what I've made by airdrop + POW + POS and my balance looks accurate after this. I believe my balance was displaying a higher amount before because of the bug, causing me to think it was still wrong (although the sync error I had before was really wrong).
Yes, I replied you in another thread. Maybe in my case I was expecting --wallet getbalance "default" 0 all to works as --wallet getbalance "*" 0 "all" . But I lost track of my balance and I find very optimistic what --wallet getbalance "*" 0 "all" returns as balance. I replied to @ceejep there and I ask for more info about it. Thanks for your solution post anyway, I am sure it will help others.
This worked great for me! @norikai I've used this post to write a basic guide on how to use the dcrwallet: https://decreddiscovery.blogspot.com/2016/03/run-your-dcrwallet-without-command-line.html (Yes I know, the link is quite misleading...)
No. It works, and is helpful. I'm not going to remove it because of the people who are unable to follow directions, which there are many of.
Hello, this may be the cause of my problem, however I do not have my passphrase. I am able to unlock the wallet with a password that I created, which I thought saved over the passphrase, but that does not look to be the case. The balance the wallet shows me is incorrect. Am i SOL?
Thank you for writing this. After a day of messing around figured out how to transfer my CLI wallet to paymetheus, after only having the CLI seed.
I have a problem where my wallet reads 0 but I don't believe I've ever successfully sent DCR out of my wallet. Your instructions and your link are WAY over my head. Literally none of it makes sense to me. Might one of you be so kind as to hold my hand and step me through how to find my DCR? This is driving me nuts right now...