rpcserver: return total num of fwdPkgs in PendingChannels
This commit adds a new field, NumForwardingPackages, in the PendingChannels RPC response to specify how many forwarding packages the channel has.
This commit is contained in:
4 files changed
+1681
-1641
No files matched your search
+1644
-1632
File diff suppressed because it is too large.
Load diff
@@ -2236,6 +2236,9 @@ message PendingChannelsResponse {
|
||||
|
||||
// The commitment type used by this channel.
|
||||
CommitmentType commitment_type = 9;
|
||||
|
||||
// Total number of forwarding packages created in this channel.
|
||||
int64 num_forwarding_packages = 10;
|
||||
}
|
||||
|
||||
message PendingOpenChannel {
|
||||
|
||||
@@ -2698,6 +2698,11 @@
|
||||
"commitment_type": {
|
||||
"$ref": "#/definitions/lnrpcCommitmentType",
|
||||
"description": "The commitment type used by this channel."
|
||||
},
|
||||
"num_forwarding_packages": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "Total number of forwarding packages created in this channel."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user