mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
3403794e81
This avoids collisions with the logging level tags
16 lines
410 B
Go
16 lines
410 B
Go
// +build dev
|
|
|
|
package chainntnfs
|
|
|
|
import "github.com/btcsuite/btcd/chaincfg/chainhash"
|
|
|
|
// TestChainNotifier enables the use of methods that are only present during
|
|
// testing for ChainNotifiers.
|
|
type TestChainNotifier interface {
|
|
ChainNotifier
|
|
|
|
// UnsafeStart enables notifiers to start up with a specific best block.
|
|
// Used for testing.
|
|
UnsafeStart(int32, *chainhash.Hash, int32, func() error) error
|
|
}
|