Just wondering what the flag EnableNodeOUs means in crypto-config.yaml?
eg:
PeerOrgs:
# ---------------------------------------------------------------------------
# Org1
# ---------------------------------------------------------------------------
- Name: Org1
Domain: org1.example.com
EnableNodeOUs: true
cryptogen is an utility for generating Hyperledger Fabric key material. It is provided as a means of preconfiguring a network for testing purposes. It would normally not be used in the operation of a production network.
The configtx. yaml file contains the information that is required to build the channel configuration in a format that can be easily read and edited by humans. The configtxgen tool reads the information in the configtx. yaml file and writes it to the protobuf format that can be read by Fabric.
In Fabric v1.1, we added the ability to classify identities as either a "client" or a "peer". This allows you to create policies such as Org.peer
and Org.client
in addition to the existing Org.member
and Org.admin
. If you enable this is cryptogen, it will generate MSPs which use this feature.
See http://hyperledger-fabric.readthedocs.io/en/release-1.1/msp.html#identity-classification
and then
http://hyperledger-fabric.readthedocs.io/en/release-1.1/endorsement-policies.html#specifying-endorsement-policies-for-a-chaincode
for how to use the roles in endorsement policies
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With