github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/Decentralized-Energy-Composer-master/fabric-dev-servers/fabric-scripts/hlfv11/composer/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 ComposerOrdererGenesis: 18 Orderer: 19 <<: *OrdererDefaults 20 Organizations: 21 - *OrdererOrg 22 Consortiums: 23 ComposerConsortium: 24 Organizations: 25 - *Org1 26 ComposerChannel: 27 Consortium: ComposerConsortium 28 Application: 29 <<: *ApplicationDefaults 30 Organizations: 31 - *Org1 32 33 ################################################################################ 34 # 35 # Section: Organizations 36 # 37 # - This section defines the different organizational identities which will 38 # be referenced later in the configuration. 39 # 40 ################################################################################ 41 Organizations: 42 43 # SampleOrg defines an MSP using the sampleconfig. It should never be used 44 # in production but may be used as a template for other definitions 45 - &OrdererOrg 46 # DefaultOrg defines the organization which is used in the sampleconfig 47 # of the fabric.git development environment 48 Name: OrdererOrg 49 50 # ID to load the MSP definition as 51 ID: OrdererMSP 52 53 # MSPDir is the filesystem path which contains the MSP configuration 54 MSPDir: crypto-config/ordererOrganizations/example.com/msp 55 56 # turn off security for the channel 57 AdminPrincipal: Role.MEMBER 58 59 - &Org1 60 # DefaultOrg defines the organization which is used in the sampleconfig 61 # of the fabric.git development environment 62 Name: Org1 63 64 # ID to load the MSP definition as 65 ID: Org1MSP 66 67 MSPDir: crypto-config/peerOrganizations/org1.example.com/msp 68 69 # turn off security for the peer 70 AdminPrincipal: Role.MEMBER 71 72 AnchorPeers: 73 # AnchorPeers defines the location of peers which can be used 74 # for cross org gossip communication. Note, this value is only 75 # encoded in the genesis block in the Application section context 76 - Host: peer0.org1.example.com 77 Port: 7051 78 79 ################################################################################ 80 # 81 # SECTION: Orderer 82 # 83 # - This section defines the values to encode into a config transaction or 84 # genesis block for orderer related parameters 85 # 86 ################################################################################ 87 Orderer: &OrdererDefaults 88 89 # Orderer Type: The orderer implementation to start 90 # Available types are "solo" and "kafka" 91 OrdererType: solo 92 93 Addresses: 94 - orderer.example.com:7050 95 96 # Batch Timeout: The amount of time to wait before creating a batch 97 BatchTimeout: 2s 98 99 # Batch Size: Controls the number of messages batched into a block 100 BatchSize: 101 102 # Max Message Count: The maximum number of messages to permit in a batch 103 MaxMessageCount: 10 104 105 # Absolute Max Bytes: The absolute maximum number of bytes allowed for 106 # the serialized messages in a batch. 107 AbsoluteMaxBytes: 98 MB 108 109 # Preferred Max Bytes: The preferred maximum number of bytes allowed for 110 # the serialized messages in a batch. A message larger than the preferred 111 # max bytes will result in a batch larger than preferred max bytes. 112 PreferredMaxBytes: 512 KB 113 114 Kafka: 115 # Brokers: A list of Kafka brokers to which the orderer connects 116 # NOTE: Use IP:port notation 117 Brokers: 118 - 127.0.0.1:9092 119 120 # Organizations is the list of orgs which are defined as participants on 121 # the orderer side of the network 122 Organizations: 123 124 ################################################################################ 125 # 126 # SECTION: Application 127 # 128 # - This section defines the values to encode into a config transaction or 129 # genesis block for application related parameters 130 # 131 ################################################################################ 132 Application: &ApplicationDefaults 133 134 # Organizations is the list of orgs which are defined as participants on 135 # the application side of the network 136 Organizations: