chain: update watched/found outpoints to map to addrs

This commit is contained in:
Olaoluwa Osuntokun 2018-06-14 22:03:31 -07:00
parent 2d600fe6ab
commit 714ac383cb

View file

@ -70,7 +70,7 @@ type (
Blocks []wtxmgr.BlockMeta
ExternalAddrs map[waddrmgr.ScopedIndex]btcutil.Address
InternalAddrs map[waddrmgr.ScopedIndex]btcutil.Address
WatchedOutPoints map[wire.OutPoint]struct{}
WatchedOutPoints map[wire.OutPoint]btcutil.Address
}
// FilterBlocksResponse reports the set of all internal and external
@ -85,7 +85,7 @@ type (
BlockMeta wtxmgr.BlockMeta
FoundExternalAddrs map[waddrmgr.KeyScope]map[uint32]struct{}
FoundInternalAddrs map[waddrmgr.KeyScope]map[uint32]struct{}
FoundOutPoints map[wire.OutPoint]struct{}
FoundOutPoints map[wire.OutPoint]btcutil.Address
RelevantTxns []*wire.MsgTx
}