|
| 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 | + SampleOrg: |
| 13 | + Orderer: |
| 14 | + <<: *OrdererDefaults |
| 15 | + Organizations: |
| 16 | + - *OrdererOrg |
| 17 | + Application: |
| 18 | + <<: *ApplicationDefaults |
| 19 | + Organizations: |
| 20 | + - *Org1 |
| 21 | + Consortiums: |
| 22 | + SampleConsortium: |
| 23 | + Organizations: |
| 24 | + - *OrdererOrg |
| 25 | + - *Org1 |
| 26 | + |
| 27 | + SampleChannel: |
| 28 | + Consortium: SampleConsortium |
| 29 | + Application: |
| 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: cryptogen/ordererOrganizations/orderer.net/msp |
| 55 | + |
| 56 | + AdminPrincipal: Role.ADMIN |
| 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 | + - &Org1 |
| 71 | + # DefaultOrg defines the organization which is used in the sampleconfig |
| 72 | + # of the fabric.git development environment |
| 73 | + Name: Org1MSP |
| 74 | + |
| 75 | + # ID to load the MSP definition as |
| 76 | + ID: Org1MSP |
| 77 | + |
| 78 | + MSPDir: cryptogen/peerOrganizations/org1.net/msp |
| 79 | + |
| 80 | + AdminPrincipal: Role.ADMIN |
| 81 | + |
| 82 | + # BCCSP (Blockchain crypto provider): Select which crypto implementation or |
| 83 | + # library to use |
| 84 | + BCCSP: |
| 85 | + Default: SW |
| 86 | + SW: |
| 87 | + Hash: SHA2 |
| 88 | + Security: 256 |
| 89 | + # Location of Key Store. If this is unset, a location will |
| 90 | + # be chosen using 'MSPDir'/keystore |
| 91 | + FileKeyStore: |
| 92 | + KeyStore: |
| 93 | + |
| 94 | + AnchorPeers: |
| 95 | + # AnchorPeers defines the location of peers which can be used |
| 96 | + # for cross org gossip communication. Note, this value is only |
| 97 | + # encoded in the genesis block in the Application section context |
| 98 | + - Host: peer1 |
| 99 | + Port: 7051 |
| 100 | + |
| 101 | +################################################################################ |
| 102 | +# |
| 103 | +# SECTION: Orderer |
| 104 | +# |
| 105 | +# - This section defines the values to encode into a config transaction or |
| 106 | +# genesis block for orderer related parameters |
| 107 | +# |
| 108 | +################################################################################ |
| 109 | +Orderer: &OrdererDefaults |
| 110 | + |
| 111 | + # Orderer Type: The orderer implementation to start |
| 112 | + # Available types are "solo" and "kafka" |
| 113 | + OrdererType: solo |
| 114 | + |
| 115 | + Addresses: |
| 116 | + - orderer:7050 |
| 117 | + |
| 118 | + # Batch Timeout: The amount of time to wait before creating a batch |
| 119 | + BatchTimeout: 2s |
| 120 | + |
| 121 | + # Batch Size: Controls the number of messages batched into a block |
| 122 | + BatchSize: |
| 123 | + |
| 124 | + # Max Message Count: The maximum number of messages to permit in a batch |
| 125 | + MaxMessageCount: 10 |
| 126 | + |
| 127 | + # Absolute Max Bytes: The absolute maximum number of bytes allowed for |
| 128 | + # the serialized messages in a batch. |
| 129 | + AbsoluteMaxBytes: 99 MB |
| 130 | + |
| 131 | + # Preferred Max Bytes: The preferred maximum number of bytes allowed for |
| 132 | + # the serialized messages in a batch. A message larger than the preferred |
| 133 | + # max bytes will result in a batch larger than preferred max bytes. |
| 134 | + PreferredMaxBytes: 512 KB |
| 135 | + |
| 136 | + Kafka: |
| 137 | + # Brokers: A list of Kafka brokers to which the orderer connects |
| 138 | + # NOTE: Use IP:port notation |
| 139 | + Brokers: |
| 140 | + - 127.0.0.1:9092 |
| 141 | + |
| 142 | + # Organizations is the list of orgs which are defined as participants on |
| 143 | + # the orderer side of the network |
| 144 | + Organizations: |
| 145 | + |
| 146 | +################################################################################ |
| 147 | +# |
| 148 | +# SECTION: Application |
| 149 | +# |
| 150 | +# - This section defines the values to encode into a config transaction or |
| 151 | +# genesis block for application related parameters |
| 152 | +# |
| 153 | +################################################################################ |
| 154 | +Application: &ApplicationDefaults |
| 155 | + |
| 156 | + # Organizations is the list of orgs which are defined as participants on |
| 157 | + # the application side of the network |
| 158 | + Organizations: |
0 commit comments