Branch: refs/heads/master
Home: https://github.com/conformal/btcwallet
Commit: 2c3845bbbdb7a3fc1da0741cef5bfd12a504f765
https://github.com/conformal/btcwallet/commit/2c3845bbbdb7a3fc1da0741cef5bfd12a504f765
Author: Josh Rickmar <[email protected]>
Date: 2014-05-30 (Fri, 30 May 2014)
Changed paths:
M acctmgr.go
Log Message:
-----------
Prevent full handshake rescans on btcd reconnect.
If a rescan fails (for example, due to a disconnected btcd) in the
btcd handshake, the last block height from a rescanprogress
notification should be used for the next rescan job on next wallet
connect. Previously, this rescan would always start at the earliest
block height for any wallet address if the transaction store could not
be read at wallet startup. This change unsets the boolean flag which
would cause a full rescan at next connect when a rescan progress
notification is received and a partial sync height is written.
Fixes #87.