Versions in this module Expand all Collapse all v1 v1.5.6 Oct 3, 2021 Changes in this version + func IsSysCC(name string) bool + func IsSysCCAndNotInvokableCC2CC(name string) bool + func IsSysCCAndNotInvokableExternal(name string) bool + type Capabilities interface + type ChannelResources interface + Apply func(configtx *common.ConfigEnvelope) error + Capabilities func() channelconfig.ApplicationCapabilities + GetMSPIDs func() []string + Ledger func() ledger.PeerLedger + MSPManager func() msp.MSPManager + type Context struct + Block *common.Block + Channel string + Envelope []byte + Namespace string + Policy []byte + Seq int + TxID string + VSCCName string + func (c Context) String() string + type IdentityDeserializer interface + type Mapper interface + type Plugin interface + type PluginFactory interface + type PluginValidator struct + func NewPluginValidator(pm vp.Mapper, qec QueryExecutorCreator, deserializer msp.IdentityDeserializer, ...) *PluginValidator + func (pv *PluginValidator) ValidateWithPlugin(ctx *Context) error + type PolicyEvaluator struct + func (id *PolicyEvaluator) DeserializeIdentity(serializedIdentity []byte) (vi.Identity, error) + func (id *PolicyEvaluator) Evaluate(policyBytes []byte, signatureSet []*protoutil.SignedData) error + type QueryExecutorCreator interface + NewQueryExecutor func() (ledger.QueryExecutor, error) + type ResultsIteratorImpl struct + func (it *ResultsIteratorImpl) Next() (vs.QueryResult, error) + type Semaphore interface + Acquire func(ctx context.Context) error + Release func() + type StateFetcherImpl struct + func (sf *StateFetcherImpl) FetchState() (vs.State, error) + type StateImpl struct + func (s *StateImpl) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (vs.ResultsIterator, error) + type TxValidator struct + ChannelID string + ChannelResources ChannelResources + CryptoProvider bccsp.BCCSP + Semaphore Semaphore + Vscc vsccValidator + func NewTxValidator(channelID string, sem Semaphore, cr ChannelResources, pm plugin.Mapper, ...) *TxValidator + func (v *TxValidator) Validate(block *common.Block) error + type VsccValidatorImpl struct + func (v *VsccValidatorImpl) GetInfoForValidate(chdr *common.ChannelHeader, ccID string) (*sysccprovider.ChaincodeInstance, *sysccprovider.ChaincodeInstance, []byte, ...) + func (v *VsccValidatorImpl) VSCCValidateTx(seq int, payload *common.Payload, envBytes []byte, block *common.Block) (error, peer.TxValidationCode) + func (v *VsccValidatorImpl) VSCCValidateTxForCC(ctx *Context) error