lnd.xprv/chainntnfs/btcdnotify
Valentine Wallace b3a5b3b576
chainntnfs: add ChainNotifier test interface for test methods
TestChainNotifier wraps the ChainNotifier interface to allow adding additional testing methods with access to private fields in the notifiers. These testing methods are only compiled when the build tag "debug" is set. UnsafeStart allows starting a notifier with a specified best block.

UnsafeStart is useful for the purpose of testing cases where a notifier's best block is out of date when it receives a new block.
2018-08-11 22:45:03 -07:00
..
btcd_debug.go chainntnfs: add ChainNotifier test interface for test methods 2018-08-11 22:45:03 -07:00
btcd.go chainntnfs: enable notifiers to catch up on missed blocks 2018-08-10 01:08:58 -07:00
driver.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00