mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
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. |
||
---|---|---|
.. | ||
btcd.go | ||
confheap.go | ||
driver.go |