Versions in this module Expand all Collapse all v1 v1.4.4 Nov 14, 2019 Changes in this version + const CCEXISTS + const CHAINCODEEXISTS + const DEPLOY + const GETCCDATA + const GETCHAINCODEDATA + const GETCHAINCODES + const GETCHAINCODESALIAS + const GETCOLLECTIONSCONFIG + const GETCOLLECTIONSCONFIGALIAS + const GETDEPLOYMENTSPEC + const GETDEPSPEC + const GETINSTALLEDCHAINCODES + const GETINSTALLEDCHAINCODESALIAS + const INSTALL + const UPGRADE + var ChaincodeNameRegExp = regexp.MustCompile("^[a-zA-Z0-9]+([-_][a-zA-Z0-9]+)*$") + var ChaincodeVersionRegExp = regexp.MustCompile("^[A-Za-z0-9_.+-]+$") + type ChaincodeMismatchErr string + func (f ChaincodeMismatchErr) Error() string + type CollectionsConfigUpgradesNotAllowed string + func (f CollectionsConfigUpgradesNotAllowed) Error() string + type DeployedCCInfoProvider struct + func (p *DeployedCCInfoProvider) ChaincodeInfo(chaincodeName string, qe ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error) + func (p *DeployedCCInfoProvider) CollectionInfo(chaincodeName, collectionName string, qe ledger.SimpleQueryExecutor) (*common.StaticCollectionConfig, error) + func (p *DeployedCCInfoProvider) Namespaces() []string + func (p *DeployedCCInfoProvider) UpdatedChaincodes(stateUpdates map[string][]*kvrwset.KVWrite) ([]*ledger.ChaincodeLifecycleInfo, error) + type ExistsErr string + func (t ExistsErr) Error() string + type FilesystemSupport interface + CheckInstantiationPolicy func(signedProposal *pb.SignedProposal, chainName string, ...) error + GetChaincodeFromLocalStorage func(ccname string, ccversion string) (ccprovider.CCPackage, error) + GetChaincodesFromLocalStorage func() (*pb.ChaincodeQueryResponse, error) + GetInstantiationPolicy func(channel string, ccpack ccprovider.CCPackage) ([]byte, error) + PutChaincodeToLocalStorage func(ccprovider.CCPackage) error + type IdenticalVersionErr string + func (f IdenticalVersionErr) Error() string + type InstantiationPolicyMissing string + func (f InstantiationPolicyMissing) Error() string + type InvalidArgsLenErr int + func (i InvalidArgsLenErr) Error() string + type InvalidCCOnFSError string + func (f InvalidCCOnFSError) Error() string + type InvalidChaincodeNameErr string + func (f InvalidChaincodeNameErr) Error() string + type InvalidChannelNameErr string + func (f InvalidChannelNameErr) Error() string + type InvalidDeploymentSpecErr string + func (f InvalidDeploymentSpecErr) Error() string + type InvalidFunctionErr string + func (f InvalidFunctionErr) Error() string + type InvalidStatedbArtifactsErr string + func (f InvalidStatedbArtifactsErr) Error() string + type InvalidVersionErr string + func (f InvalidVersionErr) Error() string + type LifeCycleSysCC struct + ACLProvider aclmgmt.ACLProvider + PlatformRegistry *platforms.Registry + PolicyChecker policy.PolicyChecker + SCCProvider sysccprovider.SystemChaincodeProvider + Support FilesystemSupport + func New(sccp sysccprovider.SystemChaincodeProvider, ACLProvider aclmgmt.ACLProvider, ...) *LifeCycleSysCC + func (lscc *LifeCycleSysCC) Chaincode() shim.Chaincode + func (lscc *LifeCycleSysCC) ChaincodeContainerInfo(chaincodeName string, qe ledger.QueryExecutor) (*ccprovider.ChaincodeContainerInfo, error) + func (lscc *LifeCycleSysCC) ChaincodeDefinition(chaincodeName string, qe ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error) + func (lscc *LifeCycleSysCC) Enabled() bool + func (lscc *LifeCycleSysCC) Init(stub shim.ChaincodeStubInterface) pb.Response + func (lscc *LifeCycleSysCC) InitArgs() [][]byte + func (lscc *LifeCycleSysCC) InvokableCC2CC() bool + func (lscc *LifeCycleSysCC) InvokableExternal() bool + func (lscc *LifeCycleSysCC) Invoke(stub shim.ChaincodeStubInterface) pb.Response + func (lscc *LifeCycleSysCC) Name() string + func (lscc *LifeCycleSysCC) Path() string + type MarshallErr string + func (m MarshallErr) Error() string + type NotFoundErr string + func (t NotFoundErr) Error() string + type PrivateChannelDataNotAvailable string + func (f PrivateChannelDataNotAvailable) Error() string + type TXNotFoundErr string + func (t TXNotFoundErr) Error() string