且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么deliverBlocks会因策略评估错误而失败?

更新时间:2023-02-17 09:25:31

对我来说,它是通过创建config.yaml文件来解决的,例如:

for me it was solved by creating config.yaml files like the example:

./crypto-config/peerOrganizations/org1.example.com/msp/config.yaml./crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/config.yaml./crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/config.yaml./crypto-config/peerOrganizations/org2.example.com/msp/config.yaml./crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/config.yaml./crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/config.yaml

./crypto-config/peerOrganizations/org1.example.com/msp/config.yaml ./crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/config.yaml ./crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/config.yaml ./crypto-config/peerOrganizations/org2.example.com/msp/config.yaml ./crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/config.yaml ./crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/config.yaml