-
Notifications
You must be signed in to change notification settings - Fork 265
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
Add support for sciddir_or_pubkey #2752
Conversation
6c662a3
to
bfff706
Compare
bfff706
to
49416e2
Compare
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #2752 +/- ##
==========================================
+ Coverage 85.82% 85.85% +0.03%
==========================================
Files 216 216
Lines 18126 18158 +32
Branches 771 760 -11
==========================================
+ Hits 15556 15590 +34
+ Misses 2570 2568 -2
|
Can you rebase this PR before I start reviewing it? |
06ec4b6
to
49f12e4
Compare
Rebased |
Offers (lightning/bolts#798) allow nodes to be identified using either the public key or a pair channel id and direction. The goal is to save bytes as channel id and direction only use 9 bytes instead of 33 for a public key.
49f12e4
to
686c16f
Compare
eclair-core/src/main/scala/fr/acinq/eclair/wire/protocol/OfferCodecs.scala
Outdated
Show resolved
Hide resolved
eclair-core/src/main/scala/fr/acinq/eclair/wire/protocol/OfferTypes.scala
Outdated
Show resolved
Hide resolved
eclair-core/src/main/scala/fr/acinq/eclair/message/Postman.scala
Outdated
Show resolved
Hide resolved
eclair-core/src/main/scala/fr/acinq/eclair/payment/Invoice.scala
Outdated
Show resolved
Hide resolved
eclair-core/src/main/scala/fr/acinq/eclair/payment/send/Recipient.scala
Outdated
Show resolved
Hide resolved
This is just an automated renaming: * PaymentBlindedRoute -> PaymentBlindedContactInfo * ResolvedPaymentBlindedRoute -> PaymentBlindedRoute
Remove parameter duplication by using a private class.
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.
Looks good to me, this is now quite clean! I've made two follow-up commits in #2776 to do some renaming and refactoring, nothing major but I think it slightly improves this.
I've added your commits, I've just changed two comments which I thought could be misleading. |
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.
👍
Offers (lightning/bolts#798) allow nodes to be identified using either the public key or a pair channel id and direction. The goal is to save bytes as channel id and direction only use 9 bytes instead of 33 for a public key.