cmd/lncli: add --peer flag to list channels
This commit adds a flag to listchannels that filters by remote pubkey.
This commit is contained in:
5 files changed
+685
-628
No files matched your search
@@ -116,6 +116,14 @@
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"format": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "peer",
|
||||
"description": "*\nFilters the response for channels with a target peer's pubkey. If peer is\nempty, all channels will be returned.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"format": "byte"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
|
||||
Reference in new issue
Block a user