WIP: Add BOLT12 payer proof support#845
Draft
vincenzopalazzo wants to merge 3 commits intolightningdevkit:mainfrom
Draft
WIP: Add BOLT12 payer proof support#845vincenzopalazzo wants to merge 3 commits intolightningdevkit:mainfrom
vincenzopalazzo wants to merge 3 commits intolightningdevkit:mainfrom
Conversation
|
👋 Thanks for assigning @tnull as a reviewer! |
18e0c72 to
312b662
Compare
Closed
7 tasks
312b662 to
4e593b7
Compare
a11bf0e to
781d3ee
Compare
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add payer-proof creation for outbound BOLT12 payments, persist the invoice context needed to build the proof, and expose the new types through the public and UniFFI surfaces. AI-assisted-by: Codex
Update rust-lightning dependency to include commits from PRs #4210 (BLIP-42 contact secrets) and #4297 (payment_nonce in PaymentSent). The payment_nonce in PaymentSent allows capturing the nonce needed for payer proof construction directly from the payment success event, eliminating the need to set manually_handle_bolt12_invoices and intercept InvoiceReceived. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
781d3ee to
0aaab83
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
InvoiceReceivedand exposeBolt12Payment::create_payer_proofwith selective disclosure optionsVerification
Disclosure
Please note that this PR is just a test to see if we are adding all the necessary API to the main PR lightningdevkit/rust-lightning#4297