Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcwallet
  Commit: edde89cd4c2b580b157c8f3bb4575588e63c7fc4
      
https://github.com/btcsuite/btcwallet/commit/edde89cd4c2b580b157c8f3bb4575588e63c7fc4
  Author: Josh Rickmar <[email protected]>
  Date:   2015-05-14 (Thu, 14 May 2015)

  Changed paths:
    M wallet/chainntfns.go

  Log Message:
  -----------
  Rollback transactions past the last saved recent block.

If a long reorganize occurs farther back than the last saved recent
block hash (currently max 20 are saved) a full rescan is triggered
since there is no guarantee the previous blocks weren't also removed
in the reorg.  In this case, the address manager was set unsynced, but
transaction history was not rolled back as well.  This commit corrects
this by unconfirming all transactions but those in the genesis block.


Reply via email to