lnrpc: add outchan ids to proto

This commit is contained in:
Abdullahi Yunus committed 2025-07-15 18:34:24 +01:00
1 parent 7f491dbd88
commit 51882e130f
3 files changed
+1760 -1721

No files matched your search

+1734 -1721
View File
File diff suppressed because it is too large. Load diff
+6
View File
@@ -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 {
+20
View File
@@ -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."
}
}
}