routing: add time_pref parameter to queryroutes and sendpayment

This commit is contained in:
Joost Jager committed 2022-04-13 20:26:46 +02:00
1 parent 269a8e74d3
commit ba5abdc090
17 files changed
+2034 -1918

No files matched your search

+6
View File
@@ -2692,6 +2692,12 @@ message QueryRoutesRequest {
fallback.
*/
repeated lnrpc.FeatureBit dest_features = 17;
/*
The time preference for this payment. Set to -1 to optimize for fees
only, to 1 to optimize for reliability only or a value inbetween for a mix.
*/
double time_pref = 18;
}
message NodePair {