Skip to content

Include a PaymentContext in PaymentPurpose#2970

Merged
TheBlueMatt merged 17 commits into
lightningdevkit:mainfrom
jkczyz:2024-03-offer-id
Apr 18, 2024
Merged

Include a PaymentContext in PaymentPurpose#2970
TheBlueMatt merged 17 commits into
lightningdevkit:mainfrom
jkczyz:2024-03-offer-id

Conversation

@jkczyz
Copy link
Copy Markdown
Contributor

@jkczyz jkczyz commented Mar 26, 2024

This is an alternative approach to #2929. Instead of adding an InvoiceGenerated event, expand PaymentPurpose with more variants that include additional context, which is exposed in PaymentClaimable and PaymentClaimed events. PaymentContext is included to payment::ReceiveTlvs such that the sender includes it in the onion when making a payment.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants