lnrpc: deprecate OutgoingChanId
In this commit we deprecate the OutgoingChanId field in the QueryRoutes in favor of OutgoingChanIds.
This commit is contained in:
3 files changed
+1744
-1741
No files matched your search
+1739
-1736
File diff suppressed because it is too large.
Load diff
@@ -3158,10 +3158,10 @@ message QueryRoutesRequest {
|
||||
map<uint64, bytes> dest_custom_records = 13;
|
||||
|
||||
/*
|
||||
The channel id of the channel that must be taken to the first hop. If zero,
|
||||
any channel may be used.
|
||||
Deprecated, use outgoing_chan_ids. The channel id of the channel that must
|
||||
be taken to the first hop. If zero, any channel may be used.
|
||||
*/
|
||||
uint64 outgoing_chan_id = 14 [jstype = JS_STRING];
|
||||
uint64 outgoing_chan_id = 14 [jstype = JS_STRING, deprecated = true];
|
||||
|
||||
/*
|
||||
The pubkey of the last hop of the route. If empty, any hop may be used.
|
||||
|
||||
@@ -1459,7 +1459,7 @@
|
||||
},
|
||||
{
|
||||
"name": "outgoing_chan_id",
|
||||
"description": "The channel id of the channel that must be taken to the first hop. If zero,\nany channel may be used.",
|
||||
"description": "Deprecated, use outgoing_chan_ids. The channel id of the channel that must\nbe taken to the first hop. If zero, any channel may be used.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
@@ -1641,7 +1641,7 @@
|
||||
"outgoing_chan_id": {
|
||||
"type": "string",
|
||||
"format": "uint64",
|
||||
"description": "The channel id of the channel that must be taken to the first hop. If zero,\nany channel may be used."
|
||||
"description": "Deprecated, use outgoing_chan_ids. The channel id of the channel that must\nbe taken to the first hop. If zero, any channel may be used."
|
||||
},
|
||||
"last_hop_pubkey": {
|
||||
"type": "string",
|
||||
|
||||
Reference in new issue
Block a user