This is related to Hyperledger fabric v1.0 network topology. From the example, configtx.yaml contains following definitions:
Profiles:
TwoOrgsOrdererGenesis:
Orderer:
<<: *OrdererDefaults
Organizations:
- *OrdererOrg
Consortiums:
SampleConsortium:
Organizations:
- *Org1
- *Org2
TwoOrgsChannel:
Consortium: SampleConsortium
Application:
<<: *ApplicationDefaults
Organizations:
- *Org1
- *Org2
There are two main sections.
- TwoOrgsOrdererGenesis This defines the orderer service and the genesis block details.
- TwoOrgsChannel This defines the channel details. Such as how many organization/entity are going to be part of the channel.
What I understood from the documentation is Consortiums section defines what are the organizations/entities belongs to a Consortium.
My questions:
- What is the role of Consortium?
- Can a Consortium entity would have peer nodes running for it's own?
- If yes, how to configure in this yaml file?
- What is the meaning of <<: line?
- What is Application in this context?
- Can I define multiple profiles in this yaml file?
appreciate if anyone can explain in details.