You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the CLI supports multiple endorsements, this
CR updates the documentation to use a more robust example
endorsement policy of "AND (..)" instead of "OR (...)".
Change-Id: I0239558a4e2a698d62d171ba2b62733ada7e8be9
Signed-off-by: Will Lahti <wtlahti@us.ibm.com>
Copy file name to clipboardExpand all lines: docs/source/commands/peerchaincode.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,7 @@ Usage:
79
79
peer chaincode install [flags]
80
80
81
81
Flags:
82
+
--connectionProfile string Connection profile that provides the necessary connection information for the network. Note: currently only supported for providing peer connection information
82
83
-c, --ctor string Constructor message for the chaincode in JSON format (default "{}")
83
84
-h, --help help for install
84
85
-l, --lang string Language the chaincode is written in (default "golang")
@@ -111,6 +112,7 @@ Usage:
111
112
Flags:
112
113
-C, --channelID string The channel on which this command should be executed
113
114
--collections-config string The file containing the configuration for the chaincode's collection
115
+
--connectionProfile string Connection profile that provides the necessary connection information for the network. Note: currently only supported for providing peer connection information
114
116
-c, --ctor string Constructor message for the chaincode in JSON format (default "{}")
115
117
-E, --escc string The name of the endorsement system chaincode to be used for this chaincode
116
118
-h, --help help for instantiate
@@ -144,6 +146,7 @@ Usage:
144
146
145
147
Flags:
146
148
-C, --channelID string The channel on which this command should be executed
149
+
--connectionProfile string Connection profile that provides the necessary connection information for the network. Note: currently only supported for providing peer connection information
147
150
-c, --ctor string Constructor message for the chaincode in JSON format (default "{}")
148
151
-h, --help help for invoke
149
152
-n, --name string Name of the chaincode
@@ -172,6 +175,7 @@ Usage:
172
175
173
176
Flags:
174
177
-C, --channelID string The channel on which this command should be executed
178
+
--connectionProfile string Connection profile that provides the necessary connection information for the network. Note: currently only supported for providing peer connection information
175
179
-h, --help help for list
176
180
--installed Get the installed chaincodes on a peer
177
181
--instantiated Get the instantiated chaincodes on a channel
@@ -231,13 +235,13 @@ Usage:
231
235
232
236
Flags:
233
237
-C, --channelID string The channel on which this command should be executed
238
+
--connectionProfile string Connection profile that provides the necessary connection information for the network. Note: currently only supported for providing peer connection information
234
239
-c, --ctor string Constructor message for the chaincode in JSON format (default "{}")
235
240
-h, --help help for query
236
241
-x, --hex If true, output the query value byte array in hexadecimal. Incompatible with --raw
237
242
-n, --name string Name of the chaincode
238
243
--peerAddresses stringArray The addresses of the peers to connect to
239
244
-r, --raw If true, output the query value as raw bytes, otherwise format as a printable string
240
-
-t, --tid string Name of a custom ID generation algorithm (hashing and decoding) e.g. sha256base64
241
245
--tlsRootCertFiles stringArray If TLS is enabled, the paths to the TLS root cert files of the peers to connect to. The order and number of certs specified should match the --peerAddresses flag
242
246
243
247
Global Flags:
@@ -285,6 +289,7 @@ Usage:
285
289
286
290
Flags:
287
291
-C, --channelID string The channel on which this command should be executed
292
+
--connectionProfile string Connection profile that provides the necessary connection information for the network. Note: currently only supported for providing peer connection information
288
293
-c, --ctor string Constructor message for the chaincode in JSON format (default "{}")
289
294
-E, --escc string The name of the endorsement system chaincode to be used for this chaincode
290
295
-h, --help help for upgrade
@@ -322,7 +327,7 @@ instantiates the chaincode named `mycc` at version `1.0` on channel
0 commit comments