Hyperledger fabric 每个渠道的同意人子集-每个渠道组织的独立订购人

Hyperledger fabric 每个渠道的同意人子集-每个渠道组织的独立订购人,hyperledger-fabric,hyperledger,Hyperledger Fabric,Hyperledger,我必须找到一种方法来定义每个频道的同意人子集 主要目的是将一个组织的每个渠道的订购者分开 例如: * I have Org1 and Org2: ** Org1 has orderes: orderer11, orderer 12 ** Org2 has orderer: 21, orderer 22 * I want to create system channel which contains EtcdRaft consenter with all 4 ord

我必须找到一种方法来定义每个频道的同意人子集

主要目的是将一个组织的每个渠道的订购者分开

例如:

* I have Org1 and Org2:
        ** Org1 has orderes: orderer11, orderer 12
        ** Org2 has orderer: 21, orderer 22
* I want to create system channel which contains EtcdRaft consenter with all 4 orderers.
* I want to create 2 application channels, each one of them will contain EtcdRaft with 1 orderer from each org in the following way:
        ** channel1 with orderer11 and orderer 21
        ** channel2 with orderer12 and orderer 22
我试图在configtx.yaml文件上配置所需的配置,但所有实验都失败了

预期配置的示例:

Profiles:
/** System Channel **/
    mychannel
        Organization: OrdererOrg
        Orderer:
            <<: *OrdererDefaults
                    OrdererType: etcdraft
                    EtcdRaft:
                Consenters:
                    - Host: orderer11.example.com
                    - Host: orderer12.example.com
                    - Host: orderer21.example.com
                    - Host: orderer22.example.com
        Consortiums:
            Organizations:
                - *org1
                - *org2
/** Application Channels **/
    channel1
        Orderer:
            <<: *OrdererDefaults
                    OrdererType: etcdraft
                    EtcdRaft:
                Consenters:
                    - Host: orderer11.example.com
                    - Host: orderer21.example.com
        Consortiums:
            Organizations:
                - *org1
                - *org2
    channel2
        Orderer:
            <<: *OrdererDefaults
                    OrdererType: etcdraft
                    EtcdRaft:
                Consenters:
                    - Host: orderer12.example.com
                    - Host: orderer22.example.com
        Consortiums:
            Organizations:
                - *org1
                - *org2
配置文件:
/**系统通道**/
我的频道
组织:Orderorg
订购方:

订购服务将系统频道用作创建应用程序频道的模板。在系统频道中定义的订购服务的节点将成为新频道的默认同意人集,而订购服务的管理员将成为频道的订购人管理员

所以您在配置文件应用程序通道部分定义
order
是无用的

但是,通过更新应用程序通道配置,可以在通道中添加或删除订购节点

因此,如果您希望每个通道使用单独的订购者,在创建应用程序通道后,删除您可以引用的应用程序通道配置的同意者集

我在版本1.4.2中成功地使用了每个通道的单独订购者,我认为版本2.3.x更容易。因为您可以在没有系统通道的情况下设置光纤网