-
Notifications
You must be signed in to change notification settings - Fork 410
Support receiving to multi-hop blinded paths #2688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
valentinewallace
merged 27 commits into
lightningdevkit:main
from
valentinewallace:2023-10-multihop-blinded-recv
Dec 13, 2023
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
e1ed52f
Pass in update add blinding point on onion decode
valentinewallace 87a25c7
Support parsing blinded non-intro onion receive payloads.
valentinewallace 51f41ce
Support receiving to multi-hop blinded payment paths.
valentinewallace 2a46505
Test successfully receiving to a multihop blinded path.
valentinewallace df2d0a4
Add variant for non-intro-nodes to BlindedFailure enum
valentinewallace 339f3fc
Store whether a received HTLC is blinded in PendingHTLCInfo
valentinewallace e4485cf
Set HTLCPreviousHopData::blinded for blinded received HTLCs.
valentinewallace af4d0df
Channel: add holding cell HTLC variant for blinded HTLCs.
valentinewallace 4ecf3f4
Set up Channel::fail_htlc to be able to return update_malformed
valentinewallace 846be81
Adapt Channel::fail_htlc for failing with malformed OR update_fail_htlc.
valentinewallace 7bb4a23
ChannelManager: add HTLCForwardInfo variant for blinded non-intro htlcs
valentinewallace 4198eda
Tweak initialization of HTLCForwardInfo in fail_htlc_backwards_internal
valentinewallace b264801
Support failing blinded non-intro HTLCs after RAA processing.
valentinewallace a2b4813
Test recipient failing an HTLC received to a multi-hop blinded path
valentinewallace d99089e
Fix blinded recipient fail on malformed HTLC
valentinewallace fbe4bf1
Add find_route test util
valentinewallace 52f28e6
Fix blinded recipient fail on onion decode failure
valentinewallace eca4dc0
Fix blinded recipient fail on receive reqs violation
valentinewallace 85d3cb8
Fix blinded recipient fail on Channel error
valentinewallace a351301
Test successful intercept payment to 2-hop blinded path
valentinewallace 93ef850
Test received blinded HTLC failure in process_pending_htlc_forwards
valentinewallace 4180803
Fail blinded received HTLCs if they violate PaymentConstraints
valentinewallace ae08d0c
Make BlindedPath::new_for_payment pub
valentinewallace 11bdcda
Add redundant blinded HTLC failure check for posterity.
valentinewallace 63ebde1
Add test coverage for serialization of malformed HTLCs.
valentinewallace ecd8238
Add release note for blinded HTLC serialization.
valentinewallace 6b66271
Add missing keysend preimage check on inbound onion read.
valentinewallace File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.