Hyperledger Fabric发现服务仅显示一个组织的同级

时间:2019-05-16 11:06:47

标签: hyperledger-fabric hyperledger blockchain

我在发现服务方面遇到问题,它仅返回当前的第二组织已加入频道并在其中调用一些链码的对等体。

      - CORE_PEER_GOSSIP_USELEADERELECTION=true
      - CORE_PEER_GOSSIP_ORGLEADER=false
      - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org1.com:7051

这是第二个组织的对等方的闲话env变量,并从config中记录

- &org1

    Name: org1

    # ID to load the MSP definition as
    ID: org1MSP

    # MSPDir is the filesystem path which contains the MSP configuration
    MSPDir: /private/orgs/org1/msp

    AnchorPeers:
       # AnchorPeers defines the location of peers which can be used
       # for cross org gossip communication.  Note, this value is only
       # encoded in the genesis block in the Application section context
       - Host: peer1.org1.com
         Port: 7051

有人可以帮我吗? 织物版本1.4

0 个答案:

没有答案