-
Notifications
You must be signed in to change notification settings - Fork 24
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
Invoice request #78
Invoice request #78
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #78 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 1 1
Lines 12 12
======================================
Misses 12 12 ☔ View full report in Codecov by Sentry. |
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.
🥇
Major comments are:
- Can we finagle the signing closure to not need a separate signer client.
- Needs some error handling (remove panics + expects) - I think we can just do a generic
OffersError
enum for now.
Sorry for taking a while to respond to this :) I've been talking to LND & LDK teams about how to address our signing needs, which ended up in the two PRs I've referenced above. Luckily we've been getting responses to the PRs quite fast... Will take a look at your other comments above today |
5e5f440
to
d4e02d1
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.
Would still like to shape up the error handling here to get rid of expect
/panic and replace with Result
wherever reasonable. Looking good!
d4e02d1
to
e67d83e
Compare
e67d83e
to
2211e85
Compare
eaff827
to
a46a901
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 the change! Few comment, and can be rebased on master then gg!
2211e85
to
dc3b5a5
Compare
@carlaKC Thanks for the review as always! I made those changes. Also got the sending part working last night, just need to clean that up and then I'll get the PR up. :) |
dc3b5a5
to
41a226c
Compare
LFG |
This PR puts a few things into place as we start to build out functionality to pay an offer: #64
cargo run --bin=lndk-cli
. The cli uses clap for parsing arguments.Note that the
invoice_request
signing portion needs the following PRs:lightningnetwork/lnd#8106
lightningdevkit/rust-lightning#2687
orbitalturtle/tonic_lnd#1
More to come!