I used peer commond in cli container on chancode install.
chaincode name + varsion file was made on peer containers.
(location is /var/hyperledger/production/chaincodes)
What is this? chaincode?
I am looking for chaincode after install.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The chaincode package which is installed on the peer is technically the serialized bytes of a protobuf message. The protobuf in a ChainDeploymentSpec message, which is defined in the "github.com/hyperledger/fabric/protos/peer" package:
message ChaincodeDeploymentSpec {
enum ExecutionEnvironment {
DOCKER = 0;
SYSTEM = 1;
}
ChaincodeSpec chaincode_spec = 1;
// Controls when the chaincode becomes executable.
google.protobuf.Timestamp effective_date = 2;
bytes code_package = 3;
ExecutionEnvironment exec_env= 4;
}
The actual chaincode source files are stored in a serialized archive file stored in the code_package field of the ChainDeploymentSpec.