-
Notifications
You must be signed in to change notification settings - Fork 902
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
Make pay
repeat on routing failure
#993
Conversation
In preparation for separating `pay` algorithm from `sendpay`.
pay
repeat on routing failurepay
repeat on routing failure
This seems quite useful. I tried making a payment to mainnet Yalls using this PR and got Making a donation to Recksplorer did work after 6 (automated) tries (on master it usually fails). |
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.
Excellent patchset as always @ZmnSCPxj, I'll let @rustyrussell merge this once he had a chance to review as well.
ACK 02ba654
lightningd/pay.c
Outdated
static struct sendpay_command * | ||
new_sendpay_command(struct command *cmd, | ||
new_sendpay_command(const tal_t *cxt, |
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.
Typo: cxt
-> ctx
ACK 02ba654 |
Fixes: #863
send_payment
internal interface.pay
command handling to a newlightning/payalgo.c
system.pay
repeat.Intent is to make improvements to pay algorithm in the future to become easier:
from_id
parameter ofgetroute
.