github.com/hyperledger/fabric-ca@v2.0.0-alpha.0.20201120210307-7b4f34729db1+incompatible/docs/source/configtx.rst (about) 1 .. code:: yaml 2 3 ################################################################################ 4 # 5 # Section: Organizations 6 # 7 # - This section defines the different organizational identities which will 8 # be referenced later in the configuration. 9 # 10 ################################################################################ 11 Organizations: 12 13 - &org0 14 15 Name: org0 16 17 # ID to load the MSP definition as 18 ID: org0MSP 19 20 # MSPDir is the filesystem path which contains the MSP configuration 21 MSPDir: /tmp/hyperledger/org0/msp 22 23 - &org1 24 25 Name: org1 26 27 # ID to load the MSP definition as 28 ID: org1MSP 29 30 # MSPDir is the filesystem path which contains the MSP configuration 31 MSPDir: /tmp/hyperledger/org1/msp 32 33 AnchorPeers: 34 # AnchorPeers defines the location of peers which can be used 35 # for cross org gossip communication. Note, this value is only 36 # encoded in the genesis block in the Application section context 37 - Host: peer1-org1 38 Port: 7051 39 40 - &org2 41 42 Name: org2 43 44 # ID to load the MSP definition as 45 ID: org2MSP 46 47 # MSPDir is the filesystem path which contains the MSP configuration 48 MSPDir: /tmp/hyperledger/org2/msp 49 50 AnchorPeers: 51 # AnchorPeers defines the location of peers which can be used 52 # for cross org gossip communication. Note, this value is only 53 # encoded in the genesis block in the Application section context 54 - Host: peer1-org2 55 Port: 7051 56 57 ################################################################################ 58 # 59 # SECTION: Application 60 # 61 # This section defines the values to encode into a config transaction or 62 # genesis block for application related parameters 63 # 64 ################################################################################ 65 Application: &ApplicationDefaults 66 67 # Organizations is the list of orgs which are defined as participants on 68 # the application side of the network 69 Organizations: 70 71 72 ################################################################################ 73 # 74 # Profile 75 # 76 # - Different configuration profiles may be encoded here to be specified 77 # as parameters to the configtxgen tool 78 # 79 ################################################################################ 80 Profiles: 81 82 OrgsOrdererGenesis: 83 Orderer: 84 # Orderer Type: The orderer implementation to start 85 # Available types are "solo" and "kafka" 86 OrdererType: solo 87 Addresses: 88 - orderer1-org0:7050 89 90 # Batch Timeout: The amount of time to wait before creating a batch 91 BatchTimeout: 2s 92 93 # Batch Size: Controls the number of messages batched into a block 94 BatchSize: 95 96 # Max Message Count: The maximum number of messages to permit in a batch 97 MaxMessageCount: 10 98 99 # Absolute Max Bytes: The absolute maximum number of bytes allowed for 100 # the serialized messages in a batch. 101 AbsoluteMaxBytes: 99 MB 102 103 # Preferred Max Bytes: The preferred maximum number of bytes allowed for 104 # the serialized messages in a batch. A message larger than the preferred 105 # max bytes will result in a batch larger than preferred max bytes. 106 PreferredMaxBytes: 512 KB 107 108 # Kafka: 109 # # Brokers: A list of Kafka brokers to which the orderer connects 110 # # NOTE: Use IP:port notation 111 # Brokers: 112 # - 127.0.0.1:9092 113 114 # Organizations is the list of orgs which are defined as participants on 115 # the orderer side of the network 116 Organizations: 117 - *org0 118 119 Consortiums: 120 121 SampleConsortium: 122 123 Organizations: 124 - *org1 125 - *org2 126 127 OrgsChannel: 128 Consortium: SampleConsortium 129 Application: 130 <<: *ApplicationDefaults 131 Organizations: 132 - *org1 133 - *org2 134