如何在 hyperledger fabric 中连接到另一台计算机的通道

How to connect to another computer's channel in hyperledger fabric

如何加入在另一台计算机上配置的频道中的成员?

在一台计算机上,我通过联盟定义和身份验证过程加入了频道。

我不知道如何从A电脑的Peer上访问B电脑的频道B,请指点一下如何从另一台电脑上访问频道的具体说明。

计算机A:一旦你创建了频道,你就有了创世块。您需要创世块才能加入频道。

计算机B:当你有创世块时,你应该执行以下命令:

peer channel join -b mychannel.block

peer channel update -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/Org1MSPanchors.tx --tls --cafile tlsca.example.com-cert.pem

在通道配置中,您应该定义两个 Peer