-
Notifications
You must be signed in to change notification settings - Fork 2.2k
docs: add sphinx replay description #9903
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
Conversation
Important Review skippedAuto reviews are limited to specific labels. 🏷️ Labels to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
6fe2e8a
to
eaddb7b
Compare
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.
Pull Request Overview
This PR adds detailed documentation to clarify the use and necessity of the Sphinx replay database in LND.
- Added an overview of Sphinx onion routing and its privacy properties.
- Included an explanation of replay protection mechanisms and the database names used for different backends.
Comments suppressed due to low confidence (1)
docs/SphinxReplayDB.md:104
- Typo 'abolute' found; please change it to 'absolute'.
as discussed earlier they decay after the abolute locktime of the HTLC expires
eaddb7b
to
9840287
Compare
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.
Thanks for putting this together, definitely useful. Left some suggestions for improved readability.
docs/SphinxReplayDB.md
Outdated
propagating through the network to safeguard the privacy for every network | ||
participant. An attacker could, for example, in hindsight access onion packets | ||
from several highly connected nodes and re-inject it into the network and | ||
potentially unblind receivers of payments which already happened in the past. |
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.
Is there an explanation required here on how the "unblinding" will happen? Currently it reads like an assertion.
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.
I generalized the unblind scenario here to not go into too much detail, because the scenario is very theoretical in my opinion.
9840287
to
81bf580
Compare
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.
Thanks for this!
81bf580
to
d2b723e
Compare
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.
great stuff!
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.
Just one last comment, otherwise LGTM.
Needs an update if this is merged: #9929 |
d2b723e
to
c0d5fcc
Compare
Also updated to the newest design so ready to be merged ⚡️ |
Previouly the sphinx replay db would cause confusion for what it is needed at all. We clarify it in a detailed document.
c0d5fcc
to
1741810
Compare
@guggero can be merged. |
Previouly the sphinx replay db would cause confusion for what it
is needed at all. We clarify it in a detailed document.
Resolves #6584