yyforyongyu
|
ee883c332f
|
chainntnfs: stop lnd when received witness stack is empty
This commit uses `Criticalf` to gracefully stop `lnd` when the received
witness data is empty.
|
2023-10-31 01:44:43 +08:00 |
|
yyforyongyu
|
28c3c835bf
|
chainntnfs: return an error when witness stack is empty
This commit adds a check when receiving transactions from
`BitcoindClient` so an error is returned when empty witness is found.
|
2023-10-31 01:44:43 +08:00 |
|
yyforyongyu
|
66b8700c0b
|
multi: add debug logs to catch slow shutdown
|
2023-10-06 16:34:47 -07:00 |
|
yyforyongyu
|
e9c10bf0a1
|
chainntnfs: remove subscriptions when the relevant tx is confirmed
This commit removes the subscribed inputs from mempool notifier when the
relevant transaction is confirmed.
|
2023-04-19 01:18:19 +08:00 |
|
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 |
|