Author

Topic: How to reset wallet balance? Mine is wrong. (Read 999 times)

full member
Activity: 168
Merit: 100
There also I believe is a recover-wallet option that might work.
full member
Activity: 210
Merit: 100
★☆★ 777Coin - The Exciting Bitco
bitcoin-qt -rescan

*give it a try if your are running it as your wallet
hero member
Activity: 672
Merit: 504
a.k.a. gurnec on GitHub
First off, I wonder if running bitcoin with the -rescan option would help?

I dump private keys then imported private keys in a new wallet and it corrected my problem but is there a faster command than one address at a time? some type of convention like a comma between addresses or is that the limitation without going to pywallet or other program?

You can use the dumpwallet and importwallet RPC/debug window commands, e.g:

Code:
walletpassphrase "my-passphrase" 60
dumpwallet "c:\exportedkeys.txt

Code:
walletpassphrase "my-passphrase" 60
importwallet "c:\exportedkeys.txt"

Just be aware that the keys in the export file are not encrypted, so you should probably use sdelete, shred, or similar to delete it once you're done.
full member
Activity: 174
Merit: 100
I dump private keys then imported private keys in a new wallet and it corrected my problem but is there a faster command than one address at a time? some type of convention like a comma between addresses or is that the limitation without going to pywallet or other program?
legendary
Activity: 3472
Merit: 4801
February 16, 2014, 10:13:27 AM
#6
You could also do a quick check to see what your current balance is by inserting your Bitcoin address after:

http://blockchain.info/address/

Which will not fix the problem, and which will only confuse you if you use multiple addresses in your wallet or have ever sent any bitcoins anywhere.

This just seems like useless advice at best and horrible advice at worst.
hero member
Activity: 980
Merit: 1000
www.DonateMedia.org
February 16, 2014, 10:11:35 AM
#5
You could also do a quick check to see what your current balance is by inserting your Bitcoin address after:

http://blockchain.info/address/
legendary
Activity: 3472
Merit: 4801
February 16, 2014, 10:09:59 AM
#4
It's not a matter of transactions not showing up, transactions showed up that I never should have received.  It's a ghost balance.

You didn't specifiy which wallet you are using. I'll assume you're using Bitcoin-Qt?

Option 1.
  • pywallet

Option 2.
  • zapwallet

Option 3.
  • dump private keys
  • start a new wallet.dat (after creating a safe backup of the current wallet.dat)
  • import private keys

Option 4.
  • import wallet.dat into blockchain.info
  • start a new wallet
  • send balance from blockchain.info to new wallet

Option 5.
  • Wait and see if the next version of Bitcoin-Qt cleans up the mess for you

There may be other options as well, these are just the 5 that immediately come to mind.
hero member
Activity: 854
Merit: 1000
February 16, 2014, 09:26:31 AM
#3
It's not a matter of transactions not showing up, transactions showed up that I never should have received.  It's a ghost balance.
full member
Activity: 196
Merit: 100
February 16, 2014, 09:25:22 AM
#2
Did the transfer show up in blockchain ? Have you got the ID ?
Did you take a backup recently ?

If you have a backup and the transfer does not show up you should be able to load the backup and run bitcoin with the -rescan option.
hero member
Activity: 854
Merit: 1000
February 16, 2014, 08:48:19 AM
#1
A few days ago when that bug was going around, my wallet balance became very skewed. I have 10 BTC pending that I never had and my actual balance is way off (in fact, I don't even know what my real balance is). This is the windows wallet. Is there a way I can get the wallet to reset/recheck the balances?

Thank you!
Jump to: