chainntnfs: switch debug tag to dev

This avoids collisions with the logging level tags
This commit is contained in:
Conner Fromknecht committed 2018-10-05 12:59:34 +09:00
1 parent a3edcf9cd5
commit 3403794e81
8 files changed
+8 -8

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
// +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
}