package protos

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message CDSData

chaincode.proto:94

CDSData is data stored in the LSCC on instantiation of a CC for CDSPackage. This needs to be serialized for ChaincodeData hence the protobuf format

message ChaincodeData

chaincode.proto:102

ChaincodeData defines the datastructure for chaincodes to be serialized by proto Type provides an additional check by directing to use a specific package after instantiation Data is Type specific (see CDSPackage and SignedCDSPackage)

message ChaincodeDeploymentSpec

chaincode.proto:67

Specify the deployment of a chaincode. TODO: Define `codePackage`.

message ChaincodeID

chaincode.proto:21

ChaincodeID contains the path as specified by the deploy transaction that created it as well as the hashCode that is generated by the system for the path. From the user level (ie, CLI, REST API and so on) deploy transaction is expected to provide the path and other requests are expected to provide the hashCode. The other value will be ignored. Internally, the structure could contain both values. For instance, the hashCode will be set when first generated using the path

Used in: ChaincodeSpec

message ChaincodeInput

chaincode.proto:36

Carries the chaincode function and its arguments. UnmarshalJSON in transaction.go converts the string-based REST/JSON input to the []byte-based current ChaincodeInput structure.

Used in: ChaincodeSpec

message ChaincodeInvocationSpec

chaincode.proto:78

Carries the chaincode function and its arguments.

message ChaincodeSpec

chaincode.proto:49

Carries the chaincode specification. This is the actual metadata required for defining a chaincode.

Used in: ChaincodeDeploymentSpec, ChaincodeInvocationSpec

enum ChaincodeSpec.Type

chaincode.proto:51

Used in: ChaincodeSpec

message LifecycleEvent

chaincode.proto:87

LifecycleEvent is used as the payload of the chaincode event emitted by LSCC