73cc28d5fb
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 |