-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpcserver: show inactive channels in GetInfo #1782
rpcserver: show inactive channels in GetInfo #1782
Conversation
Output tested using Also I am not exactly sure if I am messing up with gRPC in some way so if that's the case let me know. |
rebased |
Needs a rebase! Otherwise LGTM 👍 |
@halseth rebased. I also squashed the commits you mentioned in the comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍Thanks @xsb, this is definitely a useful addition!
rebased again, rpc.pb.go was updated on master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀thanks @xsb!
Adds the
num_inactive_channels
field in the response of theGetInfo
gRPC call. Inactive channels is calculated substracting the number of active channels to the sum of all currently open channels.Fixes #1779