Tools, FAQ, Tutorials:
Member Peers of a Channel
How to find out which Peers are members of the "mychannel" channel?
✍: FYIcenter.com
One way to find out which Peers are members of the "mychannel" channel
is to visit each peers and check their joined channel list:
1. Connect to the CLI container:
$ docker exec -it cli bash bash-4.4#
2. Check joined channel list on each peer with the help peer switching scripts:
bash-4.4# source peer0-org1.sh bash-4.4# peer channel list Channels peers has joined: mychannel bash-4.4# source peer1-org1.sh bash-4.4# peer channel list Channels peers has joined: mychannel bash-4.4# source peer0-org2.sh bash-4.4# peer channel list Channels peers has joined: mychannel bash-4.4# source peer1-org2.sh bash-4.4# peer channel list Channels peers has joined: mychannel
As you can see, there is only 1 channel, "mychannel", on the network. And all 4 peers have joined the same channel.
⇒ Not All Member Peers Run Chaincode
⇐ Switch Default Peer with Scripts
2020-05-29, ∼1654🔥, 0💬
Popular Posts:
How To Read a File in Binary Mode in PHP? If you have a file that stores binary data, like an execut...
Where to find tutorials on HTML language? I want to know how to learn HTML. Here is a large collecti...
How to use the Atom Online Validator at w3.org? w3.org feed validation service is provided at http:/...
What is Azure API Management Gateway? Azure API Management Gateway is the Azure Web server that serv...
How to use the RSS Online Validator at w3.org? You can follow this tutorial to learn how to use the ...