-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
P3might get fixed, nice to havemight get fixed, nice to haveenhancementImprovements to existing features / behaviourImprovements to existing features / behaviourintermediateIssues suitable for developers moderately familiar with the codebase and LNIssues suitable for developers moderately familiar with the codebase and LNinvoicespaymentsRelated to invoices/paymentsRelated to invoices/payments
Description
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.
Metadata
Metadata
Assignees
Labels
P3might get fixed, nice to havemight get fixed, nice to haveenhancementImprovements to existing features / behaviourImprovements to existing features / behaviourintermediateIssues suitable for developers moderately familiar with the codebase and LNIssues suitable for developers moderately familiar with the codebase and LNinvoicespaymentsRelated to invoices/paymentsRelated to invoices/payments