invoices: implement statelss invoice functinoality #6413
Labels
enhancement
Improvements to existing features / behaviour
intermediate
Issues suitable for developers moderately familiar with the codebase and LN
invoices
P3
might get fixed, nice to have
payments
Related to invoices/payments
After the merge of #5810, we start to set the new metadata field in invoices, but don't yet do anything with them on the sender side. One thing this allows is for the reactor of an invoice to only actually commit state to the invoice once it's been fully paid, a.k.a "stateless" invoices.
In order to actually make this feature useful, we should draft up an initial version of stateless invoice interpretation within lnd itself. At a glance, we can likely re-use most of the keysend logic, which itself inserts an invoice into the DB just-in-time when the HTLC is received.
The text was updated successfully, but these errors were encountered: