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:
Conner Fromknecht committed 2020-03-04 15:37:17 -08:00
1 parent 42e65d4ae5
commit 5c9b336a61
4 files changed
+442 -424

No files matched your search

+5
View File
@@ -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."