lnd.xprv/chainntfs/btcdnotify
Olaoluwa Osuntokun 7bff2e07a8
chainntfs: add new RegisterBlockHeightNtfn method
This commit adds a new method to the ChainNotifier interface which
subscribes the caller to a continuous stream of notifications generated
by new blocks added to the tip of the Bitcoin main chain.

Concurrently, this method is intended to be used in order to obtain the
necessary block height information to properly handle the timeout
period on any pending HTLCs. A continuos stream, rather than a one-off
notification is chosen in order to discourage a goroutine-per-HTLC
model which would be rather wasteful.
2016-06-21 13:12:35 -07:00
..
btcd.go chainntfs: add new RegisterBlockHeightNtfn method 2016-06-21 13:12:35 -07:00
btcdnotify_test.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
confheap.go chainntfs: fix the Pop method on confirmationHeap 2016-02-26 17:38:31 -08:00