lnrpc+rpcserver: expose short chan id on feereport
This commit adds each channel's short chan id to the `feereport` rpc. Without this, it can be tedious to lookup more info about a particular channel since most rpcs only accept short chan ids and not channel points. For instance, now one can take a channel id from `feereport` and look it up directly via `getchaninfo` to examine the policy in more detail.
This commit is contained in:
4 files changed
+442
-424
No files matched your search
@@ -2179,6 +2179,11 @@
|
||||
"lnrpcChannelFeeReport": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"chan_id": {
|
||||
"type": "string",
|
||||
"format": "uint64",
|
||||
"description": "/ The short channel id that this fee report belongs to."
|
||||
},
|
||||
"chan_point": {
|
||||
"type": "string",
|
||||
"description": "/ The channel that this fee report belongs to."
|
||||
|
||||
Reference in new issue
Block a user