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, 958🔥, 0💬
Popular Posts:
How To Remove Slashes on Submitted Input Values in PHP? By default, when input values are submitted ...
Where to find tutorials on Microsoft Azure services? Here is a large collection of tutorials to answ...
How to add an API to an API product for internal testing on the Publisher Portal of an Azure API Man...
What is test testing area for? The testing area is provided to allow visitors to post testing commen...
How to use the "forward-request" Policy Statement to call the backend service for an Azure API servi...