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

+5
View File
@@ -1635,6 +1635,11 @@
"amp": {
"type": "boolean",
"description": "If set, an AMP-payment will be attempted."
},
"time_pref": {
"type": "number",
"format": "double",
"description": "The time preference for this payment. Set to -1 to optimize for fees\nonly, to 1 to optimize for reliability only or a value inbetween for a mix."
}
}
},