36
36
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
37
37
--certfile string Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint
38
38
--clientauth Use mutual TLS when communicating with the orderer endpoint
39
+ --connTimeout duration Timeout for client to connect (default 3s)
39
40
-h, --help help for channel
40
41
--keyfile string Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint
41
42
-o, --orderer string Ordering service endpoint
@@ -61,12 +62,13 @@ Flags:
61
62
-f, --file string Configuration transaction file generated by a tool such as configtxgen for submitting to orderer
62
63
-h, --help help for create
63
64
--outputBlock string The path to write the genesis block for the channel. (default ./<channelID>.block)
64
- -t, --timeout int Channel creation timeout (default 5 )
65
+ -t, --timeout duration Channel creation timeout (default 5s )
65
66
66
67
Global Flags:
67
68
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
68
69
--certfile string Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint
69
70
--clientauth Use mutual TLS when communicating with the orderer endpoint
71
+ --connTimeout duration Timeout for client to connect (default 3s)
70
72
--keyfile string Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint
71
73
--logging-level string Default logging level and overrides, see core.yaml for full syntax
72
74
-o, --orderer string Ordering service endpoint
@@ -90,6 +92,7 @@ Global Flags:
90
92
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
91
93
--certfile string Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint
92
94
--clientauth Use mutual TLS when communicating with the orderer endpoint
95
+ --connTimeout duration Timeout for client to connect (default 3s)
93
96
--keyfile string Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint
94
97
--logging-level string Default logging level and overrides, see core.yaml for full syntax
95
98
-o, --orderer string Ordering service endpoint
@@ -113,6 +116,7 @@ Global Flags:
113
116
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
114
117
--certfile string Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint
115
118
--clientauth Use mutual TLS when communicating with the orderer endpoint
119
+ --connTimeout duration Timeout for client to connect (default 3s)
116
120
--keyfile string Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint
117
121
--logging-level string Default logging level and overrides, see core.yaml for full syntax
118
122
-o, --orderer string Ordering service endpoint
@@ -136,6 +140,7 @@ Global Flags:
136
140
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
137
141
--certfile string Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint
138
142
--clientauth Use mutual TLS when communicating with the orderer endpoint
143
+ --connTimeout duration Timeout for client to connect (default 3s)
139
144
--keyfile string Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint
140
145
--logging-level string Default logging level and overrides, see core.yaml for full syntax
141
146
-o, --orderer string Ordering service endpoint
@@ -158,6 +163,7 @@ Global Flags:
158
163
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
159
164
--certfile string Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint
160
165
--clientauth Use mutual TLS when communicating with the orderer endpoint
166
+ --connTimeout duration Timeout for client to connect (default 3s)
161
167
--keyfile string Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint
162
168
--logging-level string Default logging level and overrides, see core.yaml for full syntax
163
169
-o, --orderer string Ordering service endpoint
@@ -181,6 +187,7 @@ Global Flags:
181
187
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
182
188
--certfile string Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint
183
189
--clientauth Use mutual TLS when communicating with the orderer endpoint
190
+ --connTimeout duration Timeout for client to connect (default 3s)
184
191
--keyfile string Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint
185
192
--logging-level string Default logging level and overrides, see core.yaml for full syntax
186
193
-o, --orderer string Ordering service endpoint
@@ -205,6 +212,7 @@ Global Flags:
205
212
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
206
213
--certfile string Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint
207
214
--clientauth Use mutual TLS when communicating with the orderer endpoint
215
+ --connTimeout duration Timeout for client to connect (default 3s)
208
216
--keyfile string Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint
209
217
--logging-level string Default logging level and overrides, see core.yaml for full syntax
210
218
-o, --orderer string Ordering service endpoint
@@ -242,7 +250,7 @@ Here's an example of the `peer channel create` command option.
242
250
Wait 30 seconds for the channel to be created.
243
251
244
252
```
245
- peer channel create -c mychannel --orderer orderer.example.com:7050 -f ./createchannel.txn -t 30
253
+ peer channel create -c mychannel --orderer orderer.example.com:7050 -f ./createchannel.txn -t 30s
246
254
247
255
2018-02-23 06:31:58.568 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized
248
256
2018-02-23 06:31:58.669 UTC [channelCmd] InitCmdFactory -> INFO 019 Endorser and orderer connections initialized
0 commit comments