Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meaning of EnableNodeOUs in crypto-config.yaml?

Just wondering what the flag EnableNodeOUs means in crypto-config.yaml?

eg:

 PeerOrgs:
  # ---------------------------------------------------------------------------
  # Org1
  # ---------------------------------------------------------------------------
  - Name: Org1
    Domain: org1.example.com
    EnableNodeOUs: true
like image 653
Simon Mullaney Avatar asked Apr 19 '18 15:04

Simon Mullaney


People also ask

What is crypto material in hyperledger Fabric?

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.

What is Configtx Yaml?

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.


1 Answers

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

like image 153
Gari Singh Avatar answered Oct 20 '22 13:10

Gari Singh