Versions in this module Expand all Collapse all v1 v1.4.9 Sep 30, 2020 Changes in this version + type ChannelStateRetriever struct + func (_m *ChannelStateRetriever) NewQueryCreator(channel string) (endorser.QueryCreator, error) + type Plugin struct + func (_m *Plugin) Endorse(payload []byte, sp *peer.SignedProposal) (*peer.Endorsement, []byte, error) + func (_m *Plugin) Init(dependencies ...endorsement.Dependency) error + type PluginFactory struct + func (_m *PluginFactory) New() endorsement.Plugin + type PluginMapper struct + func (_m *PluginMapper) PluginFactoryByName(name endorser.PluginName) endorsement.PluginFactory + type QueryCreator struct + func (_m *QueryCreator) NewQueryExecutor() (ledger.QueryExecutor, error) + type SigningIdentityFetcher struct + func (_m *SigningIdentityFetcher) SigningIdentityForRequest(_a0 *peer.SignedProposal) (endorsement.SigningIdentity, error) + type Store struct + func (_m *Store) GetMinTransientBlkHt() (uint64, error) + func (_m *Store) GetTxPvtRWSetByTxid(txid string, filter ledger.PvtNsCollFilter) (transientstore.RWSetScanner, error) + func (_m *Store) Persist(txid string, blockHeight uint64, ...) error + func (_m *Store) PersistWithConfig(txid string, blockHeight uint64, ...) error + func (_m *Store) PurgeByHeight(maxBlockNumToRetain uint64) error + func (_m *Store) PurgeByTxids(txids []string) error + func (_m *Store) Shutdown() + type Support struct + CheckACLStub func(signedProp *pb.SignedProposal, chdr *common.ChannelHeader, ...) error + CheckInstantiationPolicyStub func(name, version string, cd ccprovider.ChaincodeDefinition) error + EndorseWithPluginStub func(ctx endorser_test.Context) (*pb.ProposalResponse, error) + ExecuteLegacyInitStub func(txParams *ccprovider.TransactionParams, cid, name, version, txid string, ...) (*pb.Response, *pb.ChaincodeEvent, error) + ExecuteStub func(txParams *ccprovider.TransactionParams, cid, name, version, txid string, ...) (*pb.Response, *pb.ChaincodeEvent, error) + GetApplicationConfigStub func(cid string) (channelconfig.Application, bool) + GetChaincodeDefinitionStub func(chaincodeID string, txsim ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error) + GetChaincodeDeploymentSpecFSStub func(cds *pb.ChaincodeDeploymentSpec) (*pb.ChaincodeDeploymentSpec, error) + GetHistoryQueryExecutorStub func(ledgername string) (ledger.HistoryQueryExecutor, error) + GetLedgerHeightStub func(channelID string) (uint64, error) + GetTransactionByIDStub func(chid, txID string) (*pb.ProcessedTransaction, error) + GetTxSimulatorStub func(ledgername string, txid string) (ledger.TxSimulator, error) + IsJavaCCStub func(buf []byte) (bool, error) + IsSysCCAndNotInvokableExternalStub func(name string) bool + IsSysCCStub func(name string) bool + NewQueryCreatorStub func(channel string) (endorser_test.QueryCreator, error) + SerializeStub func() ([]byte, error) + SignStub func(message []byte) ([]byte, error) + func (fake *Support) CheckACL(signedProp *pb.SignedProposal, chdr *common.ChannelHeader, ...) error + func (fake *Support) CheckACLArgsForCall(i int) (*pb.SignedProposal, *common.ChannelHeader, *common.SignatureHeader, ...) + func (fake *Support) CheckACLCallCount() int + func (fake *Support) CheckACLReturns(result1 error) + func (fake *Support) CheckACLReturnsOnCall(i int, result1 error) + func (fake *Support) CheckInstantiationPolicy(name string, version string, cd ccprovider.ChaincodeDefinition) error + func (fake *Support) CheckInstantiationPolicyArgsForCall(i int) (string, string, ccprovider.ChaincodeDefinition) + func (fake *Support) CheckInstantiationPolicyCallCount() int + func (fake *Support) CheckInstantiationPolicyReturns(result1 error) + func (fake *Support) CheckInstantiationPolicyReturnsOnCall(i int, result1 error) + func (fake *Support) EndorseWithPlugin(ctx endorser_test.Context) (*pb.ProposalResponse, error) + func (fake *Support) EndorseWithPluginArgsForCall(i int) endorser_test.Context + func (fake *Support) EndorseWithPluginCallCount() int + func (fake *Support) EndorseWithPluginReturns(result1 *pb.ProposalResponse, result2 error) + func (fake *Support) EndorseWithPluginReturnsOnCall(i int, result1 *pb.ProposalResponse, result2 error) + func (fake *Support) Execute(txParams *ccprovider.TransactionParams, cid string, name string, ...) (*pb.Response, *pb.ChaincodeEvent, error) + func (fake *Support) ExecuteArgsForCall(i int) (*ccprovider.TransactionParams, string, string, string, string, ...) + func (fake *Support) ExecuteCallCount() int + func (fake *Support) ExecuteLegacyInit(txParams *ccprovider.TransactionParams, cid string, name string, ...) (*pb.Response, *pb.ChaincodeEvent, error) + func (fake *Support) ExecuteLegacyInitArgsForCall(i int) (*ccprovider.TransactionParams, string, string, string, string, ...) + func (fake *Support) ExecuteLegacyInitCallCount() int + func (fake *Support) ExecuteLegacyInitReturns(result1 *pb.Response, result2 *pb.ChaincodeEvent, result3 error) + func (fake *Support) ExecuteLegacyInitReturnsOnCall(i int, result1 *pb.Response, result2 *pb.ChaincodeEvent, result3 error) + func (fake *Support) ExecuteReturns(result1 *pb.Response, result2 *pb.ChaincodeEvent, result3 error) + func (fake *Support) ExecuteReturnsOnCall(i int, result1 *pb.Response, result2 *pb.ChaincodeEvent, result3 error) + func (fake *Support) GetApplicationConfig(cid string) (channelconfig.Application, bool) + func (fake *Support) GetApplicationConfigArgsForCall(i int) string + func (fake *Support) GetApplicationConfigCallCount() int + func (fake *Support) GetApplicationConfigReturns(result1 channelconfig.Application, result2 bool) + func (fake *Support) GetApplicationConfigReturnsOnCall(i int, result1 channelconfig.Application, result2 bool) + func (fake *Support) GetChaincodeDefinition(chaincodeID string, txsim ledger.QueryExecutor) (ccprovider.ChaincodeDefinition, error) + func (fake *Support) GetChaincodeDefinitionArgsForCall(i int) (string, ledger.QueryExecutor) + func (fake *Support) GetChaincodeDefinitionCallCount() int + func (fake *Support) GetChaincodeDefinitionReturns(result1 ccprovider.ChaincodeDefinition, result2 error) + func (fake *Support) GetChaincodeDefinitionReturnsOnCall(i int, result1 ccprovider.ChaincodeDefinition, result2 error) + func (fake *Support) GetChaincodeDeploymentSpecFS(cds *pb.ChaincodeDeploymentSpec) (*pb.ChaincodeDeploymentSpec, error) + func (fake *Support) GetChaincodeDeploymentSpecFSArgsForCall(i int) *pb.ChaincodeDeploymentSpec + func (fake *Support) GetChaincodeDeploymentSpecFSCallCount() int + func (fake *Support) GetChaincodeDeploymentSpecFSReturns(result1 *pb.ChaincodeDeploymentSpec, result2 error) + func (fake *Support) GetChaincodeDeploymentSpecFSReturnsOnCall(i int, result1 *pb.ChaincodeDeploymentSpec, result2 error) + func (fake *Support) GetHistoryQueryExecutor(ledgername string) (ledger.HistoryQueryExecutor, error) + func (fake *Support) GetHistoryQueryExecutorArgsForCall(i int) string + func (fake *Support) GetHistoryQueryExecutorCallCount() int + func (fake *Support) GetHistoryQueryExecutorReturns(result1 ledger.HistoryQueryExecutor, result2 error) + func (fake *Support) GetHistoryQueryExecutorReturnsOnCall(i int, result1 ledger.HistoryQueryExecutor, result2 error) + func (fake *Support) GetLedgerHeight(channelID string) (uint64, error) + func (fake *Support) GetLedgerHeightArgsForCall(i int) string + func (fake *Support) GetLedgerHeightCallCount() int + func (fake *Support) GetLedgerHeightReturns(result1 uint64, result2 error) + func (fake *Support) GetLedgerHeightReturnsOnCall(i int, result1 uint64, result2 error) + func (fake *Support) GetTransactionByID(chid string, txID string) (*pb.ProcessedTransaction, error) + func (fake *Support) GetTransactionByIDArgsForCall(i int) (string, string) + func (fake *Support) GetTransactionByIDCallCount() int + func (fake *Support) GetTransactionByIDReturns(result1 *pb.ProcessedTransaction, result2 error) + func (fake *Support) GetTransactionByIDReturnsOnCall(i int, result1 *pb.ProcessedTransaction, result2 error) + func (fake *Support) GetTxSimulator(ledgername string, txid string) (ledger.TxSimulator, error) + func (fake *Support) GetTxSimulatorArgsForCall(i int) (string, string) + func (fake *Support) GetTxSimulatorCallCount() int + func (fake *Support) GetTxSimulatorReturns(result1 ledger.TxSimulator, result2 error) + func (fake *Support) GetTxSimulatorReturnsOnCall(i int, result1 ledger.TxSimulator, result2 error) + func (fake *Support) Invocations() map[string][][]interface{} + func (fake *Support) IsJavaCC(buf []byte) (bool, error) + func (fake *Support) IsJavaCCArgsForCall(i int) []byte + func (fake *Support) IsJavaCCCallCount() int + func (fake *Support) IsJavaCCReturns(result1 bool, result2 error) + func (fake *Support) IsJavaCCReturnsOnCall(i int, result1 bool, result2 error) + func (fake *Support) IsSysCC(name string) bool + func (fake *Support) IsSysCCAndNotInvokableExternal(name string) bool + func (fake *Support) IsSysCCAndNotInvokableExternalArgsForCall(i int) string + func (fake *Support) IsSysCCAndNotInvokableExternalCallCount() int + func (fake *Support) IsSysCCAndNotInvokableExternalReturns(result1 bool) + func (fake *Support) IsSysCCAndNotInvokableExternalReturnsOnCall(i int, result1 bool) + func (fake *Support) IsSysCCArgsForCall(i int) string + func (fake *Support) IsSysCCCallCount() int + func (fake *Support) IsSysCCReturns(result1 bool) + func (fake *Support) IsSysCCReturnsOnCall(i int, result1 bool) + func (fake *Support) NewQueryCreator(channel string) (endorser_test.QueryCreator, error) + func (fake *Support) NewQueryCreatorArgsForCall(i int) string + func (fake *Support) NewQueryCreatorCallCount() int + func (fake *Support) NewQueryCreatorReturns(result1 endorser_test.QueryCreator, result2 error) + func (fake *Support) NewQueryCreatorReturnsOnCall(i int, result1 endorser_test.QueryCreator, result2 error) + func (fake *Support) Serialize() ([]byte, error) + func (fake *Support) SerializeCallCount() int + func (fake *Support) SerializeReturns(result1 []byte, result2 error) + func (fake *Support) SerializeReturnsOnCall(i int, result1 []byte, result2 error) + func (fake *Support) Sign(message []byte) ([]byte, error) + func (fake *Support) SignArgsForCall(i int) []byte + func (fake *Support) SignCallCount() int + func (fake *Support) SignReturns(result1 []byte, result2 error) + func (fake *Support) SignReturnsOnCall(i int, result1 []byte, result2 error) + type TransientStoreRetriever struct + func (_m *TransientStoreRetriever) StoreForChannel(channel string) transientstore.Store Incompatible versions in this module v2.1.1+incompatible Jun 1, 2020