Skip to content
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

Clarify route blinding types #2059

Merged
merged 2 commits into from
Nov 9, 2021
Merged

Clarify route blinding types #2059

merged 2 commits into from
Nov 9, 2021

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Nov 9, 2021

We rename the EncryptedRecipientData types. The data it contains is namespaced to usages for route blinding, so we
make that explicit. In onion messages, since route blinding can be used in the forward direction, it's not always data encrypted by the recipient, so we drop that part.

This way if future scenarios use another kind of encrypted tlv stream we won't have name clashes (e.g. encrypted state backup).

We also update the route blinding official test vectors.

We rename the EncryptedRecipientData types.
The data it contains is namespaced to usages for route blinding, so we
make that explicit.

This way if future scenarios use another kind of encrypted tlv stream
we won't have name clashes (e.g. encrypted state backup).

We also update the route blinding test vectors to the final spec version.
@t-bast t-bast requested a review from thomash-acinq November 9, 2021 09:34
@t-bast t-bast merged commit 333e9ef into master Nov 9, 2021
@t-bast t-bast deleted the route-blinding-updates branch November 9, 2021 10:55
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.

2 participants