-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 [4/4]: update MC on receive from blinded path #9004
base: master
Are you sure you want to change the base?
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 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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 (
|
8e4c0e5
to
5c444a6
Compare
97fba78
to
b9d6a9c
Compare
5c444a6
to
a996efe
Compare
b9d6a9c
to
95c232c
Compare
95c232c
to
9f07fdf
Compare
9f07fdf
to
dfa0b98
Compare
a996efe
to
c2195f1
Compare
dfa0b98
to
b6e1be7
Compare
This new struct holds the zpay32.BlindedPaymentPath along with other useful info about the constructed path like: 1) the session key: which we can later use (as the path constructor) to decrypt the blobs we sent to each blinded hop in the path. 2) the last ephemeral pub key which we can use to uniquely identify this path.
Move it to the models package to avoid import cycles later on.
instead of route.Route. This will be useful for a later commit when we only have access to MCRoute and want to report success to MC.
Note that then new field is not yet persisted.
in the new "blinded-paths" namespace.
Start querying blinded path probabilites from the new MC namespace where the results of successful blinded path receives will be written to.
b6e1be7
to
c5f2e11
Compare
In this PR, we start persisting invoice blinded path info. Then, when we receive a payment from a blinded path, we can use this info to report success to mission control. This will then ensure that future selected routes for blinded paths are of better quality.
Fixes #8991
(Addresses part 4 of #6690)
Depends on:
TODO: