美文网首页
008 hyperledger-fabric 生成锚节点配置更新

008 hyperledger-fabric 生成锚节点配置更新

作者: 唐僧取经 | 来源:发表于2018-08-07 11:28 被阅读0次

锚节点配置更新文件用来对组织的锚节点进行配置

同样基于 configtx.yaml 配置文件生成新建通道文件, 每个组织都需要分别生成且注意指定对应的组织名称

$ sudo ../bin/configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org1MSPanchors.tx -channelID $CHANNEL_NAME -asOrg Org1MSP

$ sudo ../bin/configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org2MSPanchors.tx -channelID $CHANNEL_NAME -asOrg Org2MSP

-profile 后面的模版文件目录,/fabric-samples/first-network

相关文章

网友评论

      本文标题:008 hyperledger-fabric 生成锚节点配置更新

      本文链接:https://www.haomeiwen.com/subject/zrunvftx.html