Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: PrintCoins on February 20, 2012, 03:59:21 PM



Title: Imported private keys into client... how to rescan?
Post by: PrintCoins on February 20, 2012, 03:59:21 PM
How do you force the qt client to rescan. I imported a bunch of private keys using pywallet, started up the app, and the balance didn't update.

I am running on a mac, and can tweak whatever config files are needed.


Title: Re: Imported private keys into client... how to rescan?
Post by: Pieter Wuille on February 20, 2012, 04:04:35 PM
Start with -rescan


Title: Re: Imported private keys into client... how to rescan?
Post by: PrintCoins on February 20, 2012, 04:55:38 PM
Start with -rescan

How do you do that on a mac? I just run the standard qt app (I just click on the icon), not the command line executable. Can you open the qt app with that flag from the command line?

Is there just a file I can delete to force this?


Title: Re: Imported private keys into client... how to rescan?
Post by: jake262144 on February 20, 2012, 05:22:22 PM
Just launch the executable from the command line terminal appending the -rescan parameter at the end.


Title: Re: Imported private keys into client... how to rescan?
Post by: PrintCoins on February 20, 2012, 10:36:51 PM
Yep, on a mac just do the following in terminal:
Code:
cd /Applications/Bitcoin-Qt.app/Contents/MacOS/
./Bitcoin-Qt -rescan

Thanks, worked great!