-
Notifications
You must be signed in to change notification settings - Fork 1
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
API call for making a new offer #6
Conversation
41ca3f2
to
0102def
Compare
7b5b5ef
to
4f98fa3
Compare
427689a
to
c04cbd8
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.
Driveby comments!
@@ -139,6 +143,27 @@ impl Node { | |||
} | |||
} | |||
|
|||
// build an offer to receive payments at this node. path_pubkeys lists the nodes the path will contain, | |||
// starting with the introduction node and ending in the destination node (the current node). | |||
pub async fn create_offer( |
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.
Out of interest - do you think there's any chance of this being added to ldk_sample
upstream?
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.
Good question! I'll ask
8d3b4cb
to
848e562
Compare
As described in orbitalturtle/rust-lightning#2 we need to temporarily bump rust-lightning dependencies to avoid dependency conflicts in lndk.
Add options to configure the logging level and ldk node number (to identify each ldk node in lndk's integration tests). Also add a couple helpful logs.
We don't need this for LNDK's integration tests.
Merging this since my next PR depends on this. |
We add a new API call to allow building BOLT 12 offers! We need this for our integration tests over at lndk.