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:
yyforyongyu
2021-08-27 17:24:30 +08:00
parent 556b038398
commit 16f97e6f41
4 changed files with 1681 additions and 1641 deletions

View File

@@ -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 {