Versions in this module Expand all Collapse all v1 v1.4.10 Dec 9, 2020 Changes in this version + type PluginConfig struct + Enabled bool + InvokableCC2CC bool + InvokableExternal bool + Name string + Path string + type Provider struct + Peer peer.Operations + PeerSupport peer.Support + Registrar Registrar + SysCCs []SelfDescribingSysCC + func NewProvider(pOps peer.Operations, pSup peer.Support, r Registrar) *Provider + func (p *Provider) DeDeploySysCCs(chainID string, ccp ccprovider.ChaincodeProvider) + func (p *Provider) DeploySysCCs(chainID string, ccp ccprovider.ChaincodeProvider) + func (p *Provider) GetApplicationConfig(cid string) (channelconfig.Application, bool) + func (p *Provider) GetQueryExecutorForLedger(cid string) (ledger.QueryExecutor, error) + func (p *Provider) IsSysCC(name string) bool + func (p *Provider) IsSysCCAndNotInvokableCC2CC(name string) bool + func (p *Provider) IsSysCCAndNotInvokableExternal(name string) bool + func (p *Provider) PolicyManager(channelID string) (policies.Manager, bool) + func (p *Provider) RegisterSysCC(scc SelfDescribingSysCC) + type Registrar interface + Register func(ccid *ccintf.CCID, cc shim.Chaincode) error + type SelfDescribingSysCC interface + Chaincode func() shim.Chaincode + Enabled func() bool + InitArgs func() [][]byte + InvokableCC2CC func() bool + InvokableExternal func() bool + Name func() string + Path func() string + func CreatePluginSysCCs(p *Provider) []SelfDescribingSysCC + type SysCCWrapper struct + SCC *SystemChaincode + func (sccw *SysCCWrapper) Chaincode() shim.Chaincode + func (sccw *SysCCWrapper) Enabled() bool + func (sccw *SysCCWrapper) InitArgs() [][]byte + func (sccw *SysCCWrapper) InvokableCC2CC() bool + func (sccw *SysCCWrapper) InvokableExternal() bool + func (sccw *SysCCWrapper) Name() string + func (sccw *SysCCWrapper) Path() string + type SystemChaincode struct + Chaincode shim.Chaincode + Enabled bool + InitArgs [][]byte + InvokableCC2CC bool + InvokableExternal bool + Name string + Path string