You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to listen to invoices that are been held from a single listener.
Your environment
version of lnd: 0.14.2
Steps to reproduce
using the lightning library, we are looking to listen to all the invoices that are been updated, and held, whenever a payment arrives.
Currently the only way to do it is to run SubscribeToInvoice on each individual invoice. but this introduce a state where we need in our backend to know precisely which invoice we are listening to, which is hard to do because we run our instance in a kubernetes environment and we're assuming the pod to be stateless/could restart any time without notice.
The right alternative would be to use SubscribeToInvoices (with a s), so that we don't have to listen to each invoice individually.
Unfortunately, SubscribeToInvoices doesn't provide events for held invoices.
The text was updated successfully, but these errors were encountered:
Background
We want to listen to invoices that are been held from a single listener.
Your environment
lnd
: 0.14.2Steps to reproduce
using the lightning library, we are looking to listen to all the invoices that are been updated, and held, whenever a payment arrives.
Currently the only way to do it is to run SubscribeToInvoice on each individual invoice. but this introduce a state where we need in our backend to know precisely which invoice we are listening to, which is hard to do because we run our instance in a kubernetes environment and we're assuming the pod to be stateless/could restart any time without notice.
The right alternative would be to use SubscribeToInvoices (with a s), so that we don't have to listen to each invoice individually.
Unfortunately, SubscribeToInvoices doesn't provide events for held invoices.
The text was updated successfully, but these errors were encountered: