Skip to content

Commit

Permalink
Update some mistakes in doc.
Browse files Browse the repository at this point in the history
Update doc in the protos pkg, to match with the latest code.

Change-Id: Ic0aeabd07b5cad38fe897ff8f70687863c7471a7
Signed-off-by: Baohua Yang <baohyang@cn.ibm.com>
  • Loading branch information
yeasy committed Jul 30, 2016
1 parent 69345fa commit 2382b98
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion protos/chaincodeevent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
syntax = "proto3";
package protos;

//Chaincode is used for events and registrations that are specific to chaincode
//ChaincodeEvent is used for events and registrations that are specific to chaincode
//string type - "chaincode"
message ChaincodeEvent {
string chaincodeID = 1;
Expand Down
2 changes: 1 addition & 1 deletion protos/devops.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ service Devops {
// Invoke chaincode.
rpc Invoke(ChaincodeInvocationSpec) returns (Response) {}

// Invoke chaincode.
// Query chaincode.
rpc Query(ChaincodeInvocationSpec) returns (Response) {}

// Retrieve a TCert.
Expand Down
4 changes: 2 additions & 2 deletions protos/fabric.proto
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ message SyncStateSnapshotRequest {
uint64 correlationId = 1;
}

// SyncState is the payload of Message.SYNC_SNAPSHOT, which is a response
// SyncStateSnapshot is the payload of Message.SYNC_SNAPSHOT, which is a response
// to penchainMessage.SYNC_GET_SNAPSHOT. It contains the snapshot or a chunk of the
// snapshot on stream, and in which case, the sequence indicate the order
// starting at 0. The terminating message will have len(delta) == 0.
Expand All @@ -243,7 +243,7 @@ message SyncStateSnapshot {
SyncStateSnapshotRequest request = 4;
}

// SyncStateRequest is the payload of Message.SYNC_GET_STATE.
// SyncStateDeltasRequest is the payload of Message.SYNC_GET_STATE.
// blockNumber indicates the block number for the delta which is being
// requested. If no payload is included with SYNC_GET_STATE, it represents
// a request for a snapshot of the current state.
Expand Down
2 changes: 1 addition & 1 deletion protos/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func NewChaincodeDeployTransaction(chaincodeDeploymentSpec *ChaincodeDeploymentS
return transaction, nil
}

// NewChaincodeExecute is used to deploy chaincode.
// NewChaincodeExecute is used to invoke chaincode.
func NewChaincodeExecute(chaincodeInvocationSpec *ChaincodeInvocationSpec, uuid string, typ Transaction_Type) (*Transaction, error) {
transaction := new(Transaction)
transaction.Type = typ
Expand Down

0 comments on commit 2382b98

Please sign in to comment.