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.
Route blinding: support forwarding as the intro node #2540
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
Route blinding: support forwarding as the intro node #2540
Changes from all commits
1e12bdf
7f765a3
b70525d
1596116
b645237
ae15ba8
21ae9fd
a2b2fb0
50c850f
1a7254c
47d34c3
d2222c8
918f09c
c8adb54
67d2463
8c0c3a3
09cf484
b767d37
0a45870
4d43ccd
e510e3c
6af786a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, this is public now, we should include a bit more details about why this is here and what its used for. Happy to just do that in #2762.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, doing it in #2762 sgtm. FWIW, there are more detailed docs on the
BlindedForward
struct itself.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need to handle the route blinding stuff here? If we have a forward to a phantom that takes a blinded path we should support overriding the error type, even though its not something we're gonna use right now its pretty trivial to do and we might as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will always fail to decode
onion_packet
if it's a phantom, because we useRecipient::Node
instead of::PhantomNode
when decoding the encrypted TLVs. Not much we can do here until we add full phantom support, IIUC.