Skip to content
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

routing+lnrpc: add missing query routes parameters #3911

merged 3 commits into from
Jan 15, 2020


Copy link

@joostjager joostjager commented Jan 14, 2020

Over time, several new parameters have been added to the payment RPCs. But QueryRoutes hasn't kept up with those. This PR adds what is missing:

  • Route hints
  • Last hop restriction
  • Outgoing channel restriction
  • Destination node features

Furthermore an inconsistency with the default final cltv delta is fixed.

Fixes #3150

@joostjager joostjager added payments Related to invoices/payments routing rpc Related to the RPC interface labels Jan 14, 2020
@joostjager joostjager removed the request for review from Roasbeef January 14, 2020 10:24
@joostjager joostjager added this to the 0.9.0 milestone Jan 14, 2020
The default was increased for the main sendpayment RPC in commit
d3fa976. This commit sets the
same default for QueryRoutes, routerrpc.SendPayment and
Copy link

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to have this call once again have parity with SendPayment!


@Roasbeef Roasbeef merged commit 269182c into lightningnetwork:master Jan 15, 2020
C-Otto added a commit to C-Otto/rebalance-lnd that referenced this pull request Jan 17, 2020
Copy link

C-Otto commented Jan 17, 2020

@alexbosworth #3926

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
payments Related to invoices/payments routing rpc Related to the RPC interface
None yet

Successfully merging this pull request may close these issues.

queryroutes uses unrouteable final_cltv_delta value by default
4 participants