-
Notifications
You must be signed in to change notification settings - Fork 904
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
Sendpay with blindedpath #7493
base: master
Are you sure you want to change the base?
Sendpay with blindedpath #7493
Conversation
Add the possiblity to parse from command line arguments a struct blinded_path. Signed-off-by: Lagrang3 <[email protected]>
Signed-off-by: Lagrang3 <[email protected]>
Signed-off-by: Lagrang3 <[email protected]>
Signed-off-by: Lagrang3 <[email protected]>
Uniformly serialize blinded paths' field "path" instead of "hops". Signed-off-by: Lagrang3 <[email protected]>
@@ -35,7 +35,7 @@ json_to_blinded_path(const tal_t *ctx, const char *buffer, const jsmntok_t *tok) | |||
else | |||
sciddir_or_pubkey_from_pubkey(&rpath->first_node_id, &first_node_id); | |||
|
|||
hops = json_get_member(buffer, tok, "hops"); | |||
hops = json_get_member(buffer, tok, "path"); |
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.
@rustyrussell: I am not sure about this, should it be "hops" or "path".
Signed-off-by: Lagrang3 <[email protected]>
Signed-off-by: Lagrang3 <[email protected]>
There are some files autogenerated after I hit
some of which are related to my changes, but others are not. I don't know if I should commit them too. |
Changelog-Added: offers: sendpay RPC now accepts a blinded paths to execute a BOLT12 payment. Signed-off-by: Lagrang3 <[email protected]>
Signed-off-by: Lagrang3 <[email protected]>
I had a mistake in the schema, rebased on top of that commit. |
62c34ed
to
f0f8b42
Compare
Signed-off-by: Lagrang3 <[email protected]>
doc/index.rst looks new to me but i think that's ok. Rest is business as usual if you change something in the schema. |
Signed-off-by: Lagrang3 <[email protected]>
Related to #6609. |
I am going to archive this for the moment. A new way of making payments has come out with |
Add extra arguments to
sendpay
to handle bolt12's blinded paths.