小编Anu*_*ath的帖子

Hyperledger Fabric:创建channelconfig捆绑包时出错

我正在尝试使用Hyperledger Fabric运行多对等区块链网络。我的网络有三个对等点。这是configtx.yaml文件:

Profiles:

ComposerOrdererGenesis:
    Orderer:
        <<: *OrdererDefaults
        Organizations:
            - *OrdererOrg
    Consortiums:
        ComposerConsortium:
            Organizations:
                - *ManufacturerOrg
                - *CustomerOrg
                - *RegulatorOrg
ComposerChannel:
    Consortium: ComposerConsortium
    Application:
        <<: *ApplicationDefaults
        Organizations:
            - *ManufacturerOrg
            - *CustomerOrg
            - *RegulatorOrg


Organizations:


- &OrdererOrg

    Name: OrdererOrg
    ID: OrdererMSP


    MSPDir: crypto-config/ordererOrganizations/Orderer-org/msp



- &ManufacturerOrg

    Name: ManufacturerOrg


    ID: ManufacturerOrgMSP

    MSPDir: crypto-config/peerOrganizations/Manufacturer-org/msp

    # turn off security for the peer
    #AdminPrincipal: Role.MEMBER

    AnchorPeers:

        - Host: manufacturer-peer
          Port: 7051
- &CustomerOrg

    Name: CustomerOrg


    ID: CustomerOrgMSP

    MSPDir: crypto-config/peerOrganizations/Customer-org/msp

    # turn off security for the peer
    AdminPrincipal: …
Run Code Online (Sandbox Code Playgroud)

hyperledger hyperledger-fabric

2
推荐指数
1
解决办法
835
查看次数

标签 统计

hyperledger ×1

hyperledger-fabric ×1