15
15
Profiles :
16
16
17
17
TwoOrgsOrdererGenesis :
18
+ Capabilities :
19
+ << : *ChannelCapabilities
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
#
@@ -147,3 +153,52 @@ Application: &ApplicationDefaults
147
153
# Organizations is the list of orgs which are defined as participants on
148
154
# the application side of the network
149
155
Organizations :
156
+
157
+ # ###############################################################################
158
+ #
159
+ # SECTION: Capabilities
160
+ #
161
+ # - This section defines the capabilities of fabric network. This is a new
162
+ # concept as of v1.1.0 and should not be utilized in mixed networks with
163
+ # v1.0.x peers and orderers. Capabilities define features which must be
164
+ # present in a fabric binary for that binary to safely participate in the
165
+ # fabric network. For instance, if a new MSP type is added, newer binaries
166
+ # might recognize and validate the signatures from this type, while older
167
+ # binaries without this support would be unable to validate those
168
+ # transactions. This could lead to different versions of the fabric binaries
169
+ # having different world states. Instead, defining a capability for a channel
170
+ # informs those binaries without this capability that they must cease
171
+ # processing transactions until they have been upgraded. For v1.0.x if any
172
+ # capabilities are defined (including a map with all capabilities turned off)
173
+ # then the v1.0.x peer will deliberately crash.
174
+ #
175
+ # ###############################################################################
176
+ Capabilities :
177
+ # Channel capabilities apply to both the orderers and the peers and must be
178
+ # supported by both. Set the value of the capability to true to require it.
179
+ Global : &ChannelCapabilities
180
+ # V1.1 for Global is a catchall flag for behavior which has been
181
+ # determined to be desired for all orderers and peers running v1.0.x,
182
+ # but the modification of which would cause incompatibilities. Users
183
+ # should leave this flag set to true.
184
+ V1_1 : true
185
+
186
+ # Orderer capabilities apply only to the orderers, and may be safely
187
+ # manipulated without concern for upgrading peers. Set the value of the
188
+ # capability to true to require it.
189
+ Orderer : &OrdererCapabilities
190
+ # V1.1 for Order is a catchall flag for behavior which has been
191
+ # determined to be desired for all orderers running v1.0.x, but the
192
+ # modification of which would cause incompatibilities. Users should
193
+ # leave this flag set to true.
194
+ V1_1 : true
195
+
196
+ # Application capabilities apply only to the peer network, and may be safely
197
+ # manipulated without concern for upgrading orderers. Set the value of the
198
+ # capability to true to require it.
199
+ Application : &ApplicationCapabilities
200
+ # V1.1 for Application is a catchall flag for behavior which has been
201
+ # determined to be desired for all peers running v1.0.x, but the
202
+ # modification of which would cause incompatibilities. Users should
203
+ # leave this flag set to true.
204
+ V1_1 : true
0 commit comments