Title: RFC for feature : force rescan of blockchain against an arbitrary wallet Post by: davout on December 23, 2010, 01:52:17 AM As far as I understand, the client won't pick up the balance available to a wallet if you just drop it in place of another wallet.
So, is there another way other than simply discard your blockchain and force a re-download ? Or maybe I missed something :) Title: Re: RFC for feature : force rescan of blockchain against an arbitrary wallet Post by: theymos on December 23, 2010, 03:33:45 AM Right now you have to delete the block database. It is possible for Bitcoin to re-scan the blocks. It doesn't look too difficult: loop through every block and run AddToWalletIfMine on each tx.
Title: Re: RFC for feature : force rescan of blockchain against an arbitrary wallet Post by: jib on December 23, 2010, 04:04:39 AM I've also been hit by this problem once (back when I had a poor internet connection and really didn't want to redownload the block chain). It'd be a useful feature.
Title: Re: RFC for feature : force rescan of blockchain against an arbitrary wallet Post by: ender_x on February 09, 2011, 03:29:38 PM I concur. This would be handy. Then it wouldn't matter which version of your wallet you had backed up.
Title: Re: RFC for feature : force rescan of blockchain against an arbitrary wallet Post by: Gavin Andresen on February 09, 2011, 04:13:38 PM The -rescan argument in 0.3.20 does this.
Title: Re: RFC for feature : force rescan of blockchain against an arbitrary wallet Post by: davout on February 09, 2011, 09:12:04 PM The -rescan argument in 0.3.20 does this. Is it possible (not necessarily in the CLI, a function in the code could do too), to rescan against a single key ? |