github.com/myafeier/fabric@v1.0.1-0.20170722181825-3a4b1f2bce86/examples/cluster/config/configtx.yaml (about) 1 # Copyright IBM Corp. All Rights Reserved. 2 # 3 # SPDX-License-Identifier: Apache-2.0 4 # 5 6 --- 7 ################################################################################ 8 # 9 # Profile 10 # 11 # - Different configuration profiles may be encoded here to be specified 12 # as parameters to the configtxgen tool 13 # 14 ################################################################################ 15 Profiles: 16 17 SampleOrg: 18 Orderer: 19 <<: *OrdererDefaults 20 Organizations: 21 - *OrdererOrg 22 Consortiums: 23 SampleConsortium: 24 Organizations: 25 - *OrdererOrg 26 - *Org1 27 28 SampleChannel: 29 Consortium: SampleConsortium 30 Application: 31 Organizations: 32 - *Org1 33 34 ################################################################################ 35 # 36 # Section: Organizations 37 # 38 # - This section defines the different organizational identities which will 39 # be referenced later in the configuration. 40 # 41 ################################################################################ 42 Organizations: 43 44 # SampleOrg defines an MSP using the sampleconfig. It should never be used 45 # in production but may be used as a template for other definitions 46 - &OrdererOrg 47 # DefaultOrg defines the organization which is used in the sampleconfig 48 # of the fabric.git development environment 49 Name: OrdererOrg 50 51 # ID to load the MSP definition as 52 ID: OrdererMSP 53 54 # MSPDir is the filesystem path which contains the MSP configuration 55 MSPDir: cryptogen/ordererOrganizations/orderer.net/msp 56 57 AdminPrincipal: Role.ADMIN 58 59 - &Org1 60 # DefaultOrg defines the organization which is used in the sampleconfig 61 # of the fabric.git development environment 62 Name: Org1MSP 63 64 # ID to load the MSP definition as 65 ID: Org1MSP 66 67 MSPDir: cryptogen/peerOrganizations/org1.net/msp 68 69 AdminPrincipal: Role.ADMIN 70 71 AnchorPeers: 72 # AnchorPeers defines the location of peers which can be used 73 # for cross org gossip communication. Note, this value is only 74 # encoded in the genesis block in the Application section context 75 - Host: peer1 76 Port: 7051 77 78 ################################################################################ 79 # 80 # SECTION: Orderer 81 # 82 # - This section defines the values to encode into a config transaction or 83 # genesis block for orderer related parameters 84 # 85 ################################################################################ 86 Orderer: &OrdererDefaults 87 88 # Orderer Type: The orderer implementation to start 89 # Available types are "solo" and "kafka" 90 OrdererType: solo 91 92 Addresses: 93 - orderer:7050 94 95 # Batch Timeout: The amount of time to wait before creating a batch 96 BatchTimeout: 2s 97 98 # Batch Size: Controls the number of messages batched into a block 99 BatchSize: 100 101 # Max Message Count: The maximum number of messages to permit in a batch 102 MaxMessageCount: 10 103 104 # Absolute Max Bytes: The absolute maximum number of bytes allowed for 105 # the serialized messages in a batch. 106 AbsoluteMaxBytes: 98 MB 107 108 # Preferred Max Bytes: The preferred maximum number of bytes allowed for 109 # the serialized messages in a batch. A message larger than the preferred 110 # max bytes will result in a batch larger than preferred max bytes. 111 PreferredMaxBytes: 512 KB 112 113 Kafka: 114 # Brokers: A list of Kafka brokers to which the orderer connects. Edit 115 # this list to identify the brokers of the ordering service. 116 # NOTE: Use IP:port notation. 117 Brokers: 118 - kafka0:9092 119 - kafka1:9092 120 - kafka2:9092 121 122 # Organizations is the list of orgs which are defined as participants on 123 # the orderer side of the network 124 Organizations: 125 126 ################################################################################ 127 # 128 # SECTION: Application 129 # 130 # - This section defines the values to encode into a config transaction or 131 # genesis block for application related parameters 132 # 133 ################################################################################ 134 Application: &ApplicationDefaults 135 136 # Organizations is the list of orgs which are defined as participants on 137 # the application side of the network 138 Organizations: