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, 1104🔥, 0💬
Popular Posts:
How to use urllib.parse.urlencode() function to encode HTTP POST data? My form data has special char...
Where can I download the EPUB 2.0 sample book "The Metamorphosis" by Franz Kafka? You can following ...
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follo...
How to use the "set-body" Policy Statement for an Azure API service operation? The "set-body" Policy...
Where to find tutorials on Python programming language? I want to learn Python. Here is a large coll...