lbcwallet/wallet
Josh Rickmar 089fa9de18 Rescan and track sync status of imported addresses.
The private key import codepath (called when handling the
importprivkey RPC method) was not triggering rescans for the imported
address.  This change begins a new rescan for each import and adds
additional logic to the wallet file to keep track of unsynced imported
addresses.  After a rescan on an imported address completes, the
address is marked as in sync with the rest of wallet and future
handshake rescans will start from the last seen block, rather than the
import height of the unsynced address.

While here, improve the logging for not just import rescans, but
rescanning on btcd connect (part of the handshake) as well.

Fixes #74.
2014-03-17 13:46:42 -05:00
..
wallet.go Rescan and track sync status of imported addresses. 2014-03-17 13:46:42 -05:00
wallet_test.go Rescan and track sync status of imported addresses. 2014-03-17 13:46:42 -05:00