【问题标题】:How to add new consortium to existing running network Hyperledger fabric?如何将新联盟添加到现有正在运行的网络 Hyperledger 结构中?
【发布时间】:2020-01-16 21:38:03
【问题描述】:

如何将新的联盟添加到现有正在运行的网络 Hyperledger 结构中? 如何添加联盟和新频道?

喜欢..

##Existing config
Consortiums:
            SampleConsortium:
                Organizations:
                    - *Org1
                    - *Org2
                    - *Org3

##Adding new xxxxxxxxxxxxxxxxxxxxxxxxxxxx
             NewConsortium:
                Organizations:
                    - *Org1
                    - *Org4
##Adding
Channel14:
        Consortium: NewConsortium
        Application:
            <<: *ApplicationDefaults
            Organizations:
                - *Org1
                - *Org4enter code here

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

谢谢

【问题讨论】:

  • 谢谢你的回答。

标签: configuration hyperledger-fabric blockchain hyperledger channel


【解决方案1】:

要将新联盟添加到正在运行的网络,您需要获取和修改系统通道,即如果您使用的是 byfn,则为 testchainid。您可以参考以下帖子的步骤

Cannot create channels with new orgs in Fabric, got error: Attempted to include a member which is not in the consortium

这篇文章是关于在运行的网络中添加新的组织到联盟,只有很少的事情会改变,而你想添加新的联盟,比如频道将是系统频道,你需要相应地修改 jq 命令。

【讨论】:

  • 谢谢你的回答。
  • mohammed,我们什么时候创建新联盟或新频道?
  • 取决于组织希望如何根据他们可以创建新联盟或新渠道的协议相互沟通。您可以参考hyperledger-fabric.readthedocs.io/en/release-1.4/network/…
  • mohammed ,要将新组织添加到联盟,请按照以下步骤操作:在 docker exec cli bash 中键入并按下?
  • 你能澄清一下吗?
猜你喜欢
  • 2019-10-17
  • 2018-08-05
  • 2019-04-01
  • 2020-04-24
  • 1970-01-01
  • 2021-05-09
  • 1970-01-01
  • 2020-04-17
  • 2019-12-25
相关资源
最近更新 更多