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.
This commit is contained in:
Olaoluwa Osuntokun 2017-05-23 18:18:22 -07:00
parent 8f81133d6c
commit 065f646ef8
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -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.
)