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
Copy file name to clipboardExpand all lines: docs/source/commands/peerchaincode.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ localhost:7051"`.
77
77
78
78
## peer chaincode invoke
79
79
```
80
-
Invoke the specified chaincode. It will try to commit the endorsed transaction to the network.
80
+
[DEPRECATED] Invoke the specified chaincode. It will try to commit the endorsed transaction to the network. Instead of this command, use "peercli chaincode invoke".
81
81
82
82
Usage:
83
83
peer chaincode invoke [flags]
@@ -110,7 +110,7 @@ Global Flags:
110
110
111
111
## peer chaincode query
112
112
```
113
-
Get endorsed result of chaincode function call and print it. It won't generate transaction.
113
+
[DEPRECATED] Get endorsed result of chaincode function call and print it. It won't generate transaction. Instead of this command, use "peercli chaincode query".
Copy file name to clipboardExpand all lines: docs/source/commands/peerchannel.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,21 +25,21 @@ The `peer channel` command has the following subcommands:
25
25
26
26
## peer channel
27
27
```
28
-
Operate a channel: create|fetch|join|joinbysnapshot|joinbysnapshotstatus|list|update|signconfigtx|getinfo.
28
+
[DEPRECATED] Operate a channel: create|fetch|join|joinbysnapshot|joinbysnapshotstatus|list|update|signconfigtx|getinfo. Instead of this command, use "peercli channel".
29
29
30
30
Usage:
31
31
peer channel [command]
32
32
33
33
Available Commands:
34
-
create [DEPRECATED] Create a channel
35
-
fetch Fetch a block
36
-
getinfo get blockchain information of a specified channel.
37
-
join Joins the peer to a channel.
38
-
joinbysnapshot Joins the peer to a channel by the specified snapshot
39
-
joinbysnapshotstatus Query if joinbysnapshot is running for any channel
40
-
list List of channels peer has joined.
41
-
signconfigtx Signs a configtx update.
42
-
update Send a configtx update.
34
+
create [DEPRECATED] Create a channel (use the "osnadmin join").
35
+
fetch [DEPRECATED] Fetch a block (use the "peercli channel fetch" or "osnadmin fetch").
36
+
getinfo [DEPRECATED] get blockchain information of a specified channel (use the "peercli channel getinfo").
37
+
join [DEPRECATED] Joins the peer to a channel (use the "peercli channel join").
38
+
joinbysnapshot [DEPRECATED] Joins the peer to a channel by the specified snapshot (use the "peercli channel joinbysnapshot").
39
+
joinbysnapshotstatus [DEPRECATED] Query if joinbysnapshot is running for any channel (use the "peercli channel joinbysnapshotstatus").
40
+
list [DEPRECATED] List of channels peer has joined (use the "peercli channel list").
41
+
signconfigtx [DEPRECATED] Signs a configtx update (use the "peercli channel signconfigtx").
42
+
update [DEPRECATED] Send a configtx update (use the "osnadmin update").
43
43
44
44
Flags:
45
45
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
@@ -86,7 +86,7 @@ Global Flags:
86
86
87
87
## peer channel fetch
88
88
```
89
-
Fetch a specified block, writing it to a file.
89
+
[DEPRECATED] Fetch a specified block from peer or orderer, writing it to a file. Instead of this command, use "peercli channel fetch" or "osnadmin fetch".
get blockchain information of a specified channel. Requires '-c'.
114
+
[DEPRECATED] get blockchain information of a specified channel. Requires '-c'. Instead of this command, use "peercli channel getinfo".
115
115
116
116
Usage:
117
117
peer channel getinfo [flags]
@@ -135,7 +135,7 @@ Global Flags:
135
135
136
136
## peer channel join
137
137
```
138
-
Joins the peer to a channel.
138
+
[DEPRECATED] Joins the peer to a channel. Instead of this command, use "peercli channel join".
139
139
140
140
Usage:
141
141
peer channel join [flags]
@@ -159,7 +159,7 @@ Global Flags:
159
159
160
160
## peer channel joinbysnapshot
161
161
```
162
-
Joins the peer to a channel by the specified snapshot
162
+
[DEPRECATED] Joins the peer to a channel by the specified snapshot. Instead of this command, use "peercli channel joinbysnapshot".
163
163
164
164
Usage:
165
165
peer channel joinbysnapshot [flags]
@@ -183,7 +183,7 @@ Global Flags:
183
183
184
184
## peer channel joinbysnapshotstatus
185
185
```
186
-
Query if joinbysnapshot is running for any channel
186
+
[DEPRECATED] Query if joinbysnapshot is running for any channel. Instead of this command, use "peercli channel joinbysnapshotstatus".
187
187
188
188
Usage:
189
189
peer channel joinbysnapshotstatus [flags]
@@ -206,7 +206,7 @@ Global Flags:
206
206
207
207
## peer channel list
208
208
```
209
-
List of channels peer has joined.
209
+
[DEPRECATED] List of channels peer has joined. Instead of this command, use "peercli channel list".
210
210
211
211
Usage:
212
212
peer channel list [flags]
@@ -229,7 +229,7 @@ Global Flags:
229
229
230
230
## peer channel signconfigtx
231
231
```
232
-
Signs the supplied configtx update file in place on the filesystem. Requires '-f'.
232
+
[DEPRECATED] Signs the supplied configtx update file in place on the filesystem. Requires '-f'. Instead of this command, use "peercli channel signconfigtx".
233
233
234
234
Usage:
235
235
peer channel signconfigtx [flags]
@@ -253,7 +253,7 @@ Global Flags:
253
253
254
254
## peer channel update
255
255
```
256
-
Signs and sends the supplied configtx update file to the channel. Requires '-f', '-o', '-c'.
256
+
[DEPRECATED] Signs and sends the supplied configtx update file to the channel. Requires '-f', '-o', '-c'. . Instead of this command, use Orderer Service Node (OSN).
0 commit comments