From 065f646ef87c1b82a935b32a8f53917e5be034aa Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 23 May 2017 18:18:22 -0700 Subject: [PATCH] chainntnfs: add the neutrino implementation to the set of interface tests This commit adds a new case and proper initialization for the NeutrinoNotifier implementation, such that it can be tested in-line with the other implementations for proper behavior conformity. Due to a delay when btcd sends invs for new blocks, the timeouts for several of the tests has been extended in order to give enough time for propagation of the new block. --- chainntnfs/interface_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chainntnfs/interface_test.go b/chainntnfs/interface_test.go index 480723b9..87b52b6e 100644 --- a/chainntnfs/interface_test.go +++ b/chainntnfs/interface_test.go @@ -15,7 +15,6 @@ import ( "github.com/roasbeef/btcd/chaincfg/chainhash" "github.com/roasbeef/btcwallet/walletdb" - _ "github.com/lightningnetwork/lnd/chainntnfs/neutrinonotify" "github.com/roasbeef/btcd/btcec" "github.com/roasbeef/btcd/chaincfg" "github.com/roasbeef/btcd/rpctest" @@ -23,6 +22,7 @@ import ( "github.com/roasbeef/btcd/wire" "github.com/roasbeef/btcutil" + _ "github.com/lightningnetwork/lnd/chainntnfs/btcdnotify" _ "github.com/roasbeef/btcwallet/walletdb/bdb" // Required to register the boltdb walletdb implementation. )