Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Herodes on March 21, 2013, 02:18:14 AM



Title: Easy way to check if a wallet contains money ?
Post by: Herodes on March 21, 2013, 02:18:14 AM
As it would have it, I'm cleaning up a lot of old backups, and there's some wallet.dat files lying around, I think all of them are empty, but just to make sure, I want to check the balance of each of them. I know I can put one by one into bitcoind data directory, replacing the original wallet, but I was wondering if somebody already made a simple tool to do this ?

Ie.

Code:
./balancechecker backup/wallet.dat -d~/.bitcoin

Extracting adresses from wallet, then checking against an online service or a local copy of the block chain to find the balance of the wallet.

Anyone know of such a tools ? Tried to search the forum, but to no avail.


Title: Re: Easy way to check if a wallet contains money ?
Post by: grue on March 21, 2013, 02:39:57 AM
use pywallet. extract all the keys, compile them into one txt file, remove duplicates, and sweep them all into your main wallet.


Title: Re: Easy way to check if a wallet contains money ?
Post by: Herodes on March 21, 2013, 02:43:44 AM
use pywallet. extract all the keys, compile them into one txt file, remove duplicates, and sweep them all into your main wallet.

thanks dude.