lnd.xprv/chainntfs
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
..
btcdnotify chainntfs: add new RegisterBlockHeightNtfn method 2016-06-21 13:12:35 -07:00
chainntfs_test.go Create skeleton for chain notifications 2015-12-16 14:38:21 -06:00
chainntfs.go chainntfs: add new RegisterBlockHeightNtfn method 2016-06-21 13:12:35 -07:00
log.go chainnfts: export logger for use by concrete implementations 2016-06-21 13:12:27 -07:00