yyforyongyu
|
3b77e9c51f
|
chainntnfs: add method UnsubscribeEvent to cancel a subscription
This commit adds the method `UnsubscribeEvent` to cancel a single
subscription.
|
2023-04-19 01:18:18 +08:00 |
|
yyforyongyu
|
5743dd9601
|
chainntnfs: allow multiple subscriber to the same input
This commit changes the `subscribedInputs` to store a map of subscribers
so multiple subscribers are allowed to receive events from the same
outpoint.
|
2023-04-19 01:18:18 +08:00 |
|
yyforyongyu
|
81ee3b9fbe
|
chainntnfs: introduce mempool notifier
This commit adds a mempool notifier which notifies the subscriber the
spending event found in the mempool for a given input.
|
2023-04-19 01:18:18 +08:00 |
|