Versions in this module Expand all Collapse all v1 v1.4.6 May 20, 2020 Changes in this version + func Initialize(ccInfoProvider ChaincodeInfoProvider) + type ChaincodeDefinition struct + CollectionConfigs *common.CollectionConfigPackage + Hash []byte + Name string + Version string + func (cdef *ChaincodeDefinition) String() string + type ChaincodeInfoProvider interface + GetDeployedChaincodeInfo func(chainid string, chaincodeDefinition *ChaincodeDefinition) (*ledger.DeployedChaincodeInfo, error) + RetrieveChaincodeArtifacts func(chaincodeDefinition *ChaincodeDefinition) (installed bool, dbArtifactsTar []byte, err error) + type ChaincodeLifecycleEventListener interface + ChaincodeDeployDone func(succeeded bool) + HandleChaincodeDeploy func(chaincodeDefinition *ChaincodeDefinition, dbArtifactsTar []byte) error + type KVLedgerLSCCStateListener struct + DeployedChaincodeInfoProvider ledger.DeployedChaincodeInfoProvider + func (listener *KVLedgerLSCCStateListener) HandleStateUpdates(trigger *ledger.StateUpdateTrigger) error + func (listener *KVLedgerLSCCStateListener) InterestedInNamespaces() []string + func (listener *KVLedgerLSCCStateListener) StateCommitDone(channelName string) + type Mgr struct + func GetMgr() *Mgr + func (m *Mgr) ChaincodeDeployDone(chainid string) + func (m *Mgr) ChaincodeInstallDone(succeeded bool) + func (m *Mgr) HandleChaincodeDeploy(chainid string, chaincodeDefinitions []*ChaincodeDefinition) error + func (m *Mgr) HandleChaincodeInstall(chaincodeDefinition *ChaincodeDefinition, dbArtifacts []byte) error + func (m *Mgr) Register(ledgerid string, l ChaincodeLifecycleEventListener)