15
15
Profiles :
16
16
17
17
TwoOrgsOrdererGenesis :
18
+ Capabilities :
19
+ << : *GlobalCapabilities
18
20
Orderer :
19
21
<< : *OrdererDefaults
20
22
Organizations :
21
23
- *OrdererOrg
24
+ Capabilities :
25
+ << : *OrdererCapabilities
22
26
Consortiums :
23
27
SampleConsortium :
24
28
Organizations :
@@ -31,6 +35,8 @@ Profiles:
31
35
Organizations :
32
36
- *Org1
33
37
- *Org2
38
+ Capabilities :
39
+ << : *ApplicationCapabilities
34
40
35
41
# ###############################################################################
36
42
#
@@ -151,3 +157,51 @@ Application: &ApplicationDefaults
151
157
# Organizations is the list of orgs which are defined as participants on
152
158
# the application side of the network
153
159
Organizations :
160
+ # ###############################################################################
161
+ #
162
+ # SECTION: Capabilities
163
+ #
164
+ # - This section defines the capabilities of fabric network. This is a new
165
+ # concept as of v1.1.0 and should not be utilized in mixed networks with
166
+ # v1.0.x peers and orderers. Capabilities define features which must be
167
+ # present in a fabric binary for that binary to safely participate in the
168
+ # fabric network. For instance, if a new MSP type is added, newer binaries
169
+ # might recognize and validate the signatures from this type, while older
170
+ # binaries without this support would be unable to validate those
171
+ # transactions. This could lead to different versions of the fabric binaries
172
+ # having different world states. Instead, defining a capability for a channel
173
+ # informs those binaries without this capability that they must cease
174
+ # processing transactions until they have been upgraded. For v1.0.x if any
175
+ # capabilities are defined (including a map with all capabilities turned off)
176
+ # then the v1.0.x peer will deliberately crash.
177
+ #
178
+ # ###############################################################################
179
+ Capabilities :
180
+ # Global capabilities apply to both the orderers and the peers and must be
181
+ # supported by both. Set the value of the capability to true to require it.
182
+ Global : &GlobalCapabilities
183
+ # V1.1 for Global is a catchall flag for behavior which has been
184
+ # determined to be desired for all orderers and peers running v1.0.x,
185
+ # but the modification of which would cause imcompatibilities. Users
186
+ # should leave this flag set to true.
187
+ V1_1 : true
188
+
189
+ # Orderer capabilities apply only to the orderers, and may be safely
190
+ # manipulated without concern for upgrading peers. Set the value of the
191
+ # capability to true to require it.
192
+ Orderer : &OrdererCapabilities
193
+ # V1.1 for Order is a catchall flag for behavior which has been
194
+ # determined to be desired for all orderers running v1.0.x, but the
195
+ # modification of which would cause imcompatibilities. Users should
196
+ # leave this flag set to true.
197
+ V1_1 : true
198
+
199
+ # Application capabilities apply only to the peer network, and may be safely
200
+ # manipulated without concern for upgrading orderers. Set the value of the
201
+ # capability to true to require it.
202
+ Application : &ApplicationCapabilities
203
+ # V1.1 for Application is a catchall flag for behavior which has been
204
+ # determined to be desired for all peers running v1.0.x, but the
205
+ # modification of which would cause imcompatibilities. Users should
206
+ # leave this flag set to true.
207
+ V1_1 : true
0 commit comments