Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwallet
  Commit: 18fb993d0b4256a0d994edc5afbe9e5e2061a35f
      
https://github.com/conformal/btcwallet/commit/18fb993d0b4256a0d994edc5afbe9e5e2061a35f
  Author: Josh Rickmar <[email protected]>
  Date:   2013-11-01 (Fri, 01 Nov 2013)

  Changed paths:
    M cmd.go
    M cmdmgr.go
    M createtx.go
    M createtx_test.go
    M disksync.go
    M sockets.go
    M tx/tx.go
    M tx/tx_test.go
    M wallet/wallet.go
    M wallet/wallet_test.go

  Log Message:
  -----------
  Implement address rescanning.

When a wallet is opened, a rescan request will be sent to btcd with
all active addresses from the wallet, to rescan from the last synced
block (now saved to the wallet file) and the current best block.

As multi-account support is further explored, rescan requests should
be batched together to send a single request for all addresses from
all wallets.

This change introduces several changes to the wallet, tx, and utxo
files.  Wallet files are still compatible, however, a rescan will try
to start at the genesis block since no correct "last synced to" or
"created at block X" was saved.  The tx and utxo files, however, are
not compatible and should be deleted (or an error will occur on read).
If any errors occur opening the utxo file, a rescan will start
beginning at the creation block saved in the wallet.



Reply via email to