-
Notifications
You must be signed in to change notification settings - Fork 19
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
How to list peers that are not anchor nodes on the channel #125
Comments
may I know more about the use case? |
A PeerMembershipQuery using the discovery service can return all the network organizations and their member peers. |
For security reasons, it is reasonable for Org 1 not to expose its non-anchor nodes to other Org. |
could you please try the api as @bestbeforetoday's suggestion? |
yes, it worked, the result json as follows.
the peer endpoint is in membership_info's payload, the payload's proto struct is gossip.GossipMessage,
i will give the implements code for this |
implements code as follows
|
could you please open a PR with your contribution? |
ok,i will do this. |
fix #125 --------- Signed-off-by: 1gezhanghao <xvkong@gmail.com>
we can list anchor peers from channel‘s ConfigBlock
but how to list other joined peers that are not anchor nodes
The text was updated successfully, but these errors were encountered: