Post
Topic
Board Bitcoin Technical Support
Re: Finding out which wallet addresses have a non-zero balance
by
jon_smark
on 27/06/2013, 10:00:17 UTC
You do not need to do all this.
When you have backup of wallet.dat - you can just put it into bitcoin-qt corresponding folder (after you will manage to get it to work again).
Or else, you can create online wallet and import your wallet.dat backup there https://blockchain.info/wallet/import-wallet

I appreciate the reply, but did you read my question carefully?  The problem is that after the upgrade, Bitcoin-qt will crash on start up if I give it my wallet backup!  This is of course because of the differing libdb versions problem which has plagued Bitcoin-qt on Ubuntu for a while now.

However, importing the wallet into an online provider is a good option.  I'll keep that in mind.

But, if all you want is just know balance -
1) create new wallet using pywallet
2) import all addresses and private kyes
3) open this wallet using bitcoin-qt
4) goto help-debug window-console (this is on Windows, but I suppose on Linux it is the same)
5) write command getreceivedbyaddress XXXXXXXXXXXXXXXX(insert address here)
If address is not in your wallet - you will not be able to see balance on it

So basically I have to create a small script anyway to automate this process.  Which is what I why trying to avoid...