lnd.xprv/chainntnfs/btcdnotify
Olaoluwa Osuntokun 73cc28d5fb
chainntnfs/btcdnotify: implement spend+epoch ntfn cancellations
This commit minifies the BtcdNotifier concrete implementation of the
ChainNotifier interface to allow callers to optionally cancel an
outstanding block epoch or spend notificaiton intent.

To do this efficiently, we now give each notification intent a unique
ID based on if it’s an epoch intent or a spend intent. We then use this
ID to reference back to the original un-dispatched notification intent
when the caller wishes to cancel the intent.
2017-02-21 01:42:53 -08:00
..
btcd.go chainntnfs/btcdnotify: implement spend+epoch ntfn cancellations 2017-02-21 01:42:53 -08:00
confheap.go chainntnfs/btcdnotify: update BtcdNotifer to recent ChainNotifier API change 2016-12-27 16:43:58 -08:00
driver.go chainntnfs: add cross interface implementation tests 2016-09-01 19:13:10 -07:00