mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 22:46:40 +01:00
* Looks rather hack atm. Put in place so progress can be had with lnwallet before notes is finished.
14 lines
412 B
Go
14 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)
|
|
}
|