5f705be63b
* Looks rather hack atm. Put in place so progress can be had with lnwallet before notes is finished.
15 lines
412 B
Go
15 lines
412 B
Go
package btcdnotify
|
|
|
|
import (
|
|
"github.com/btcsuite/btcwallet/chain"
|
|
"github.com/btcsuite/btcwallet/wtxmgr"
|
|
)
|
|
|
|
// ChainConnection...
|
|
// Required in order to avoid an import cycle, and do aide in testing.
|
|
type ChainConnection interface {
|
|
ListenConnectedBlocks() (<-chan wtxmgr.BlockMeta, error)
|
|
ListenDisconnectedBlocks() (<-chan wtxmgr.BlockMeta, error)
|
|
ListenRelevantTxs() (<-chan chain.RelevantTx, error)
|
|
}
|