chain: update interface to map outpoints to their addresses
In this commit, we update the Rescan call in the interface to map the outpoint to the address that the outpoint holds. We do this as BIP 158 has recently been updated to match on the prev output script rather than the outpoint itself. Additionally, in the near future, btcd (then bitcoind), will switch over to using the BIP 158 filters internally, which will also match on the output scripts.
This commit is contained in:
parent
64b5b448f5
commit
87d91316cd
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ type Interface interface {
|
|||
FilterBlocks(*FilterBlocksRequest) (*FilterBlocksResponse, error)
|
||||
BlockStamp() (*waddrmgr.BlockStamp, error)
|
||||
SendRawTransaction(*wire.MsgTx, bool) (*chainhash.Hash, error)
|
||||
Rescan(*chainhash.Hash, []btcutil.Address, []*wire.OutPoint) error
|
||||
Rescan(*chainhash.Hash, []btcutil.Address, map[wire.OutPoint]btcutil.Address) error
|
||||
NotifyReceived([]btcutil.Address) error
|
||||
NotifyBlocks() error
|
||||
Notifications() <-chan interface{}
|
||||
|
|
Loading…
Reference in a new issue