来自泊坞日志的错误: Existing config does not contain element for [Groups] /Channel/Application
用于生成genesis.block的configtx.yaml
Profiles:
OrgsOrdererGenesis:
Orderer:
<<: *OrdererDefaults
Organizations:
- *OrdererOrgs
Consortiums:
SampleConsortium:
Organizations:
组织:
- &OrdererOrgs
Name: orderer0
ID: orderer0
MSPDir: crypto-config/ordererOrganizations/test.com/msp
AdminPrincipal: Role.Admin
Orderer:&amp; OrdererDefaults OrdererType:solo
Addresses:
- orderer0:7050
BatchTimeout: 2s
MaxChannels: 0
应用程序:&amp; ApplicationDefaults 组织:
用于生成channel.tx的configtx.yaml
Profiles:
OrgsChannel:
Consortium: SampleConsortium
Application:
<<: *ApplicationDefaults
Organizations:
- *org
组织:
- &org
Name: org
ID: org
MSPDir: crypto-config/peerOrganizations/org.org.com/msp
AdminPrincipal: Role.Admin
AnchorPeers:
- Host: peer0
Port: 7051
应用程序:&amp; ApplicationDefaults 组织:
这是一个有效的场景,我们可以先生成genesis.block [不指定组织细节],然后通过指定org详细信息最终创建channel.tx吗?