-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[feature]: Change EstimateRouteFee rpc to improve fee estimation functionality #7916
Comments
Hi @saubyk, I have some questions.
|
I think it makes sense to use the same
My expectation here is that the route is calculated the same way regardless, if it is different we should let
In this scenario, "reachable=false" is a correct outcome, but there should be a way to distinguish the reason for failure. As a successful probe is also expected to fail eventually, but the reason should indicate that payment failed because the payment hash was invalid, indicating that it can reach the destination. In the scenario you laid out, the payment cannot reach the destination with the given route |
I guess there is an issue because it's unlikely you'll succeed on a single route This implies that the API would be streaming, unless the caller is expected to repeat the call and let mission control take care of the path updating Another thing to think about is what happens if the attempt takes a long time, do you move on or block |
My assumption is, if the
There is an expectation to include a new |
Yes agree, I think we could solve all these issues by just calling I have now a version of this working locally, the Question: Should we deprecate the current fields of a lnd/lnrpc/routerrpc/router.proto Line 330 in 32c8b82
|
EstimateRouteFee
rpc can be changed to improve fee estimation for paying specific invoices.Following changes should be made:
The rpc should return:
If the rpc is not able to complete the probe within the timeout period specified by the user, it should return destination reachable as false.
Long term changes (not in the current scope of this ticket) which can be considered for future revisions of this rpc:
The text was updated successfully, but these errors were encountered: