Get desktop application:
View/edit binary Protocol Buffers messages
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
hash of ChaincodeDeploymentSpec.code_package
hash of ChaincodeID.name + ChaincodeID.version
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)
Name of the chaincode
Version of the chaincode
Escc for the chaincode instance
Vscc for the chaincode instance
Data data specific to the package
Id of the chaincode that's the unique fingerprint for the CC This is not currently used anywhere but serves as a good eyecatcher
Specify the deployment of a chaincode. TODO: Define `codePackage`.
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:
deploy transaction will use the path
all other requests will use the name (really a hashcode) generated by the deploy transaction
user friendly version name for the chaincode
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:
is_init is used for the application to signal that an invocation is to be routed to the legacy 'Init' function for compatibility with chaincodes which handled Init in the old way. New applications should manage their initialized state themselves.
Carries the chaincode function and its arguments.
Carries the chaincode specification. This is the actual metadata required for defining a chaincode.
Used in: ,
Used in:
LifecycleEvent is used as the payload of the chaincode event emitted by LSCC