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