github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/examples/e2e_cli/configtx.yaml (about) 1 --- 2 ################################################################################ 3 # 4 # Profile 5 # 6 # - Different configuration profiles may be encoded here to be specified 7 # as parameters to the configtxgen tool 8 # 9 ################################################################################ 10 Profiles: 11 12 TwoOrgsOrdererGenesis: 13 Orderer: 14 <<: *OrdererDefaults 15 Organizations: 16 - *OrdererOrg 17 Consortiums: 18 SampleConsortium: 19 Organizations: 20 - *Org0 21 - *Org1 22 TwoOrgsChannel: 23 Consortium: SampleConsortium 24 Application: 25 <<: *ApplicationDefaults 26 Organizations: 27 - *Org0 28 - *Org1 29 30 ################################################################################ 31 # 32 # Section: Organizations 33 # 34 # - This section defines the different organizational identities which will 35 # be referenced later in the configuration. 36 # 37 ################################################################################ 38 Organizations: 39 40 # SampleOrg defines an MSP using the sampleconfig. It should never be used 41 # in production but may be used as a template for other definitions 42 - &OrdererOrg 43 # DefaultOrg defines the organization which is used in the sampleconfig 44 # of the fabric.git development environment 45 Name: OrdererOrg 46 47 # ID to load the MSP definition as 48 ID: OrdererMSP 49 50 # MSPDir is the filesystem path which contains the MSP configuration 51 MSPDir: crypto/orderer/localMspConfig 52 53 # AdminPrincipal dictates the type of principal used for an organization's Admins policy 54 # Today, only the values of Role.ADMIN ad Role.MEMBER are accepted, which indicates a principal 55 # of role type ADMIN and role type MEMBER respectively 56 AdminPrincipal: Role.MEMBER 57 58 # BCCSP (Blockchain crypto provider): Select which crypto implementation or 59 # library to use 60 BCCSP: 61 Default: SW 62 SW: 63 Hash: SHA2 64 Security: 256 65 # Location of Key Store. If this is unset, a location will 66 # be chosen using 'MSPDir'/keystore 67 FileKeyStore: 68 KeyStore: 69 70 - &Org0 71 # DefaultOrg defines the organization which is used in the sampleconfig 72 # of the fabric.git development environment 73 Name: Org0MSP 74 75 # ID to load the MSP definition as 76 ID: Org0MSP 77 78 MSPDir: crypto/peer/peer0/localMspConfig 79 80 # AdminPrincipal dictates the type of principal used for an organization's Admins policy 81 # Today, only the values of Role.ADMIN ad Role.MEMBER are accepted, which indicates a principal 82 # of role type ADMIN and role type MEMBER respectively 83 AdminPrincipal: Role.MEMBER 84 85 # BCCSP (Blockchain crypto provider): Select which crypto implementation or 86 # library to use 87 BCCSP: 88 Default: SW 89 SW: 90 Hash: SHA2 91 Security: 256 92 # Location of Key Store. If this is unset, a location will 93 # be chosen using 'MSPDir'/keystore 94 FileKeyStore: 95 KeyStore: 96 97 AnchorPeers: 98 # AnchorPeers defines the location of peers which can be used 99 # for cross org gossip communication. Note, this value is only 100 # encoded in the genesis block in the Application section context 101 - Host: peer0 102 Port: 7051 103 104 - &Org1 105 # DefaultOrg defines the organization which is used in the sampleconfig 106 # of the fabric.git development environment 107 Name: Org1MSP 108 109 # ID to load the MSP definition as 110 ID: Org1MSP 111 112 MSPDir: crypto/peer/peer2/localMspConfig 113 114 # AdminPrincipal dictates the type of principal used for an organization's Admins policy 115 # Today, only the values of Role.ADMIN ad Role.MEMBER are accepted, which indicates a principal 116 # of role type ADMIN and role type MEMBER respectively 117 AdminPrincipal: Role.MEMBER 118 119 # BCCSP (Blockchain crypto provider): Select which crypto implementation or 120 # library to use 121 BCCSP: 122 Default: SW 123 SW: 124 Hash: SHA2 125 Security: 256 126 # Location of Key Store. If this is unset, a location will 127 # be chosen using 'MSPDir'/keystore 128 FileKeyStore: 129 KeyStore: 130 131 AnchorPeers: 132 # AnchorPeers defines the location of peers which can be used 133 # for cross org gossip communication. Note, this value is only 134 # encoded in the genesis block in the Application section context 135 - Host: peer2 136 Port: 7051 137 138 ################################################################################ 139 # 140 # SECTION: Orderer 141 # 142 # - This section defines the values to encode into a config transaction or 143 # genesis block for orderer related parameters 144 # 145 ################################################################################ 146 Orderer: &OrdererDefaults 147 148 # Orderer Type: The orderer implementation to start 149 # Available types are "solo" and "kafka" 150 OrdererType: solo 151 152 Addresses: 153 - orderer0:7050 154 155 # Batch Timeout: The amount of time to wait before creating a batch 156 BatchTimeout: 2s 157 158 # Batch Size: Controls the number of messages batched into a block 159 BatchSize: 160 161 # Max Message Count: The maximum number of messages to permit in a batch 162 MaxMessageCount: 10 163 164 # Absolute Max Bytes: The absolute maximum number of bytes allowed for 165 # the serialized messages in a batch. 166 AbsoluteMaxBytes: 99 MB 167 168 # Preferred Max Bytes: The preferred maximum number of bytes allowed for 169 # the serialized messages in a batch. A message larger than the preferred 170 # max bytes will result in a batch larger than preferred max bytes. 171 PreferredMaxBytes: 512 KB 172 173 Kafka: 174 # Brokers: A list of Kafka brokers to which the orderer connects 175 # NOTE: Use IP:port notation 176 Brokers: 177 - 127.0.0.1:9092 178 179 # Organizations is the list of orgs which are defined as participants on 180 # the orderer side of the network 181 Organizations: 182 183 ################################################################################ 184 # 185 # SECTION: Application 186 # 187 # - This section defines the values to encode into a config transaction or 188 # genesis block for application related parameters 189 # 190 ################################################################################ 191 Application: &ApplicationDefaults 192 193 # Organizations is the list of orgs which are defined as participants on 194 # the application side of the network 195 Organizations: