pull down to refresh

IIRC LNBits circumvented this by intercepting invoices before handing them to LND, and processing "to-self" invoices separately as database-only transfers. But it would indeed be nice if LND had it baked in, instead of everybody that has a use case for it reimplementing the feature.

intercepting invoices before handing them to LND

This is the correct way, we do this in Lightning.Pub too... LND is a Lightning implementation, not a service middleware

That said, LND does indeed have raw HTLC interception built-in, apparently SN isn't using it

reply
That said, LND does indeed have raw HTLC interception built-in, apparently SN isn't using it

we don't, we wrap invoices and add our fee in JS

may the dynamic types be with us

reply