multi: extend QueryRoutes RPC with CLTV limit field

This commit is contained in:
Wilmer Paulino committed 2019-10-11 18:07:39 -04:00
1 parent 0fc401de19
commit cbf7e4886a
5 files changed
+334 -295

No files matched your search

+7
View File
@@ -1742,6 +1742,13 @@ message QueryRoutesRequest {
A list of directed node pairs that will be ignored during path finding.
*/
repeated NodePair ignored_pairs = 10;
/**
An optional maximum total time lock for the route. If the source is empty or
ourselves, this should not exceed lnd's `--max-cltv-expiry` setting. If
zero, then the value of `--max-cltv-expiry` is used as the limit.
*/
uint32 cltv_limit = 11;
}
message NodePair {