lnrpc: add outchan ids to proto
This commit is contained in:
3 files changed
+1760
-1721
No files matched your search
+1734
-1721
File diff suppressed because it is too large.
Load diff
@@ -3196,6 +3196,12 @@ message QueryRoutesRequest {
|
||||
only, to 1 to optimize for reliability only or a value inbetween for a mix.
|
||||
*/
|
||||
double time_pref = 18;
|
||||
|
||||
/*
|
||||
The channel ids of the channels allowed for the first hop. If empty, any
|
||||
channel may be used.
|
||||
*/
|
||||
repeated uint64 outgoing_chan_ids = 20;
|
||||
}
|
||||
|
||||
message NodePair {
|
||||
|
||||
@@ -1520,6 +1520,18 @@
|
||||
"required": false,
|
||||
"type": "number",
|
||||
"format": "double"
|
||||
},
|
||||
{
|
||||
"name": "outgoing_chan_ids",
|
||||
"description": "The channel ids of the channels allowed for the first hop. If empty, any\nchannel may be used.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"format": "uint64"
|
||||
},
|
||||
"collectionFormat": "multi"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
@@ -1663,6 +1675,14 @@
|
||||
"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."
|
||||
},
|
||||
"outgoing_chan_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"format": "uint64"
|
||||
},
|
||||
"description": "The channel ids of the channels allowed for the first hop. If empty, any\nchannel may be used."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user