routing: add time_pref parameter to queryroutes and sendpayment
This commit is contained in:
17 files changed
+2034
-1918
No files matched your search
@@ -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."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user