Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type CollectionPolicyChecker
- func (fake *CollectionPolicyChecker) CheckCollectionPolicy(arg1 uint64, arg2 string, arg3 string, arg4 ledger.ConfigHistoryRetriever, ...) (bool, error)
- func (fake *CollectionPolicyChecker) CheckCollectionPolicyArgsForCall(i int) (uint64, string, string, ledger.ConfigHistoryRetriever, ...)
- func (fake *CollectionPolicyChecker) CheckCollectionPolicyCallCount() int
- func (fake *CollectionPolicyChecker) CheckCollectionPolicyCalls(...)
- func (fake *CollectionPolicyChecker) CheckCollectionPolicyReturns(result1 bool, result2 error)
- func (fake *CollectionPolicyChecker) CheckCollectionPolicyReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *CollectionPolicyChecker) Invocations() map[string][][]interface{}
- type IdentityDeserializerManager
- func (fake *IdentityDeserializerManager) Deserializer(arg1 string) (msp.IdentityDeserializer, error)
- func (fake *IdentityDeserializerManager) DeserializerArgsForCall(i int) string
- func (fake *IdentityDeserializerManager) DeserializerCallCount() int
- func (fake *IdentityDeserializerManager) DeserializerCalls(stub func(string) (msp.IdentityDeserializer, error))
- func (fake *IdentityDeserializerManager) DeserializerReturns(result1 msp.IdentityDeserializer, result2 error)
- func (fake *IdentityDeserializerManager) DeserializerReturnsOnCall(i int, result1 msp.IdentityDeserializer, result2 error)
- func (fake *IdentityDeserializerManager) Invocations() map[string][][]interface{}
- type PeerLedger
- func (fake *PeerLedger) CancelSnapshotRequest(arg1 uint64) error
- func (fake *PeerLedger) CancelSnapshotRequestArgsForCall(i int) uint64
- func (fake *PeerLedger) CancelSnapshotRequestCallCount() int
- func (fake *PeerLedger) CancelSnapshotRequestCalls(stub func(uint64) error)
- func (fake *PeerLedger) CancelSnapshotRequestReturns(result1 error)
- func (fake *PeerLedger) CancelSnapshotRequestReturnsOnCall(i int, result1 error)
- func (fake *PeerLedger) Close()
- func (fake *PeerLedger) CloseCallCount() int
- func (fake *PeerLedger) CloseCalls(stub func())
- func (fake *PeerLedger) CommitLegacy(arg1 *ledger.BlockAndPvtData, arg2 *ledger.CommitOptions) error
- func (fake *PeerLedger) CommitLegacyArgsForCall(i int) (*ledger.BlockAndPvtData, *ledger.CommitOptions)
- func (fake *PeerLedger) CommitLegacyCallCount() int
- func (fake *PeerLedger) CommitLegacyCalls(stub func(*ledger.BlockAndPvtData, *ledger.CommitOptions) error)
- func (fake *PeerLedger) CommitLegacyReturns(result1 error)
- func (fake *PeerLedger) CommitLegacyReturnsOnCall(i int, result1 error)
- func (fake *PeerLedger) CommitPvtDataOfOldBlocks(arg1 []*ledger.ReconciledPvtdata, arg2 ledger.MissingPvtDataInfo) ([]*ledger.PvtdataHashMismatch, error)
- func (fake *PeerLedger) CommitPvtDataOfOldBlocksArgsForCall(i int) ([]*ledger.ReconciledPvtdata, ledger.MissingPvtDataInfo)
- func (fake *PeerLedger) CommitPvtDataOfOldBlocksCallCount() int
- func (fake *PeerLedger) CommitPvtDataOfOldBlocksCalls(...)
- func (fake *PeerLedger) CommitPvtDataOfOldBlocksReturns(result1 []*ledger.PvtdataHashMismatch, result2 error)
- func (fake *PeerLedger) CommitPvtDataOfOldBlocksReturnsOnCall(i int, result1 []*ledger.PvtdataHashMismatch, result2 error)
- func (fake *PeerLedger) DoesPvtDataInfoExist(arg1 uint64) (bool, error)
- func (fake *PeerLedger) DoesPvtDataInfoExistArgsForCall(i int) uint64
- func (fake *PeerLedger) DoesPvtDataInfoExistCallCount() int
- func (fake *PeerLedger) DoesPvtDataInfoExistCalls(stub func(uint64) (bool, error))
- func (fake *PeerLedger) DoesPvtDataInfoExistReturns(result1 bool, result2 error)
- func (fake *PeerLedger) DoesPvtDataInfoExistReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *PeerLedger) GetBlockByHash(arg1 []byte) (*common.Block, error)
- func (fake *PeerLedger) GetBlockByHashArgsForCall(i int) []byte
- func (fake *PeerLedger) GetBlockByHashCallCount() int
- func (fake *PeerLedger) GetBlockByHashCalls(stub func([]byte) (*common.Block, error))
- func (fake *PeerLedger) GetBlockByHashReturns(result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByHashReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByNumber(arg1 uint64) (*common.Block, error)
- func (fake *PeerLedger) GetBlockByNumberArgsForCall(i int) uint64
- func (fake *PeerLedger) GetBlockByNumberCallCount() int
- func (fake *PeerLedger) GetBlockByNumberCalls(stub func(uint64) (*common.Block, error))
- func (fake *PeerLedger) GetBlockByNumberReturns(result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByTxID(arg1 string) (*common.Block, error)
- func (fake *PeerLedger) GetBlockByTxIDArgsForCall(i int) string
- func (fake *PeerLedger) GetBlockByTxIDCallCount() int
- func (fake *PeerLedger) GetBlockByTxIDCalls(stub func(string) (*common.Block, error))
- func (fake *PeerLedger) GetBlockByTxIDReturns(result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockByTxIDReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *PeerLedger) GetBlockchainInfo() (*common.BlockchainInfo, error)
- func (fake *PeerLedger) GetBlockchainInfoCallCount() int
- func (fake *PeerLedger) GetBlockchainInfoCalls(stub func() (*common.BlockchainInfo, error))
- func (fake *PeerLedger) GetBlockchainInfoReturns(result1 *common.BlockchainInfo, result2 error)
- func (fake *PeerLedger) GetBlockchainInfoReturnsOnCall(i int, result1 *common.BlockchainInfo, result2 error)
- func (fake *PeerLedger) GetBlocksIterator(arg1 uint64) (ledgera.ResultsIterator, error)
- func (fake *PeerLedger) GetBlocksIteratorArgsForCall(i int) uint64
- func (fake *PeerLedger) GetBlocksIteratorCallCount() int
- func (fake *PeerLedger) GetBlocksIteratorCalls(stub func(uint64) (ledgera.ResultsIterator, error))
- func (fake *PeerLedger) GetBlocksIteratorReturns(result1 ledgera.ResultsIterator, result2 error)
- func (fake *PeerLedger) GetBlocksIteratorReturnsOnCall(i int, result1 ledgera.ResultsIterator, result2 error)
- func (fake *PeerLedger) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
- func (fake *PeerLedger) GetConfigHistoryRetrieverCallCount() int
- func (fake *PeerLedger) GetConfigHistoryRetrieverCalls(stub func() (ledger.ConfigHistoryRetriever, error))
- func (fake *PeerLedger) GetConfigHistoryRetrieverReturns(result1 ledger.ConfigHistoryRetriever, result2 error)
- func (fake *PeerLedger) GetConfigHistoryRetrieverReturnsOnCall(i int, result1 ledger.ConfigHistoryRetriever, result2 error)
- func (fake *PeerLedger) GetMissingPvtDataTracker() (ledger.MissingPvtDataTracker, error)
- func (fake *PeerLedger) GetMissingPvtDataTrackerCallCount() int
- func (fake *PeerLedger) GetMissingPvtDataTrackerCalls(stub func() (ledger.MissingPvtDataTracker, error))
- func (fake *PeerLedger) GetMissingPvtDataTrackerReturns(result1 ledger.MissingPvtDataTracker, result2 error)
- func (fake *PeerLedger) GetMissingPvtDataTrackerReturnsOnCall(i int, result1 ledger.MissingPvtDataTracker, result2 error)
- func (fake *PeerLedger) GetPvtDataAndBlockByNum(arg1 uint64, arg2 ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error)
- func (fake *PeerLedger) GetPvtDataAndBlockByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
- func (fake *PeerLedger) GetPvtDataAndBlockByNumCallCount() int
- func (fake *PeerLedger) GetPvtDataAndBlockByNumCalls(stub func(uint64, ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error))
- func (fake *PeerLedger) GetPvtDataAndBlockByNumReturns(result1 *ledger.BlockAndPvtData, result2 error)
- func (fake *PeerLedger) GetPvtDataAndBlockByNumReturnsOnCall(i int, result1 *ledger.BlockAndPvtData, result2 error)
- func (fake *PeerLedger) GetPvtDataByNum(arg1 uint64, arg2 ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
- func (fake *PeerLedger) GetPvtDataByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
- func (fake *PeerLedger) GetPvtDataByNumCallCount() int
- func (fake *PeerLedger) GetPvtDataByNumCalls(stub func(uint64, ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error))
- func (fake *PeerLedger) GetPvtDataByNumReturns(result1 []*ledger.TxPvtData, result2 error)
- func (fake *PeerLedger) GetPvtDataByNumReturnsOnCall(i int, result1 []*ledger.TxPvtData, result2 error)
- func (fake *PeerLedger) GetTransactionByID(arg1 string) (*peera.ProcessedTransaction, error)
- func (fake *PeerLedger) GetTransactionByIDArgsForCall(i int) string
- func (fake *PeerLedger) GetTransactionByIDCallCount() int
- func (fake *PeerLedger) GetTransactionByIDCalls(stub func(string) (*peera.ProcessedTransaction, error))
- func (fake *PeerLedger) GetTransactionByIDReturns(result1 *peera.ProcessedTransaction, result2 error)
- func (fake *PeerLedger) GetTransactionByIDReturnsOnCall(i int, result1 *peera.ProcessedTransaction, result2 error)
- func (fake *PeerLedger) GetTxValidationCodeByTxID(arg1 string) (peera.TxValidationCode, error)
- func (fake *PeerLedger) GetTxValidationCodeByTxIDArgsForCall(i int) string
- func (fake *PeerLedger) GetTxValidationCodeByTxIDCallCount() int
- func (fake *PeerLedger) GetTxValidationCodeByTxIDCalls(stub func(string) (peera.TxValidationCode, error))
- func (fake *PeerLedger) GetTxValidationCodeByTxIDReturns(result1 peera.TxValidationCode, result2 error)
- func (fake *PeerLedger) GetTxValidationCodeByTxIDReturnsOnCall(i int, result1 peera.TxValidationCode, result2 error)
- func (fake *PeerLedger) Invocations() map[string][][]interface{}
- func (fake *PeerLedger) NewHistoryQueryExecutor() (ledger.HistoryQueryExecutor, error)
- func (fake *PeerLedger) NewHistoryQueryExecutorCallCount() int
- func (fake *PeerLedger) NewHistoryQueryExecutorCalls(stub func() (ledger.HistoryQueryExecutor, error))
- func (fake *PeerLedger) NewHistoryQueryExecutorReturns(result1 ledger.HistoryQueryExecutor, result2 error)
- func (fake *PeerLedger) NewHistoryQueryExecutorReturnsOnCall(i int, result1 ledger.HistoryQueryExecutor, result2 error)
- func (fake *PeerLedger) NewQueryExecutor() (ledger.QueryExecutor, error)
- func (fake *PeerLedger) NewQueryExecutorCallCount() int
- func (fake *PeerLedger) NewQueryExecutorCalls(stub func() (ledger.QueryExecutor, error))
- func (fake *PeerLedger) NewQueryExecutorReturns(result1 ledger.QueryExecutor, result2 error)
- func (fake *PeerLedger) NewQueryExecutorReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)
- func (fake *PeerLedger) NewTxSimulator(arg1 string) (ledger.TxSimulator, error)
- func (fake *PeerLedger) NewTxSimulatorArgsForCall(i int) string
- func (fake *PeerLedger) NewTxSimulatorCallCount() int
- func (fake *PeerLedger) NewTxSimulatorCalls(stub func(string) (ledger.TxSimulator, error))
- func (fake *PeerLedger) NewTxSimulatorReturns(result1 ledger.TxSimulator, result2 error)
- func (fake *PeerLedger) NewTxSimulatorReturnsOnCall(i int, result1 ledger.TxSimulator, result2 error)
- func (fake *PeerLedger) PendingSnapshotRequests() ([]uint64, error)
- func (fake *PeerLedger) PendingSnapshotRequestsCallCount() int
- func (fake *PeerLedger) PendingSnapshotRequestsCalls(stub func() ([]uint64, error))
- func (fake *PeerLedger) PendingSnapshotRequestsReturns(result1 []uint64, result2 error)
- func (fake *PeerLedger) PendingSnapshotRequestsReturnsOnCall(i int, result1 []uint64, result2 error)
- func (fake *PeerLedger) SubmitSnapshotRequest(arg1 uint64) error
- func (fake *PeerLedger) SubmitSnapshotRequestArgsForCall(i int) uint64
- func (fake *PeerLedger) SubmitSnapshotRequestCallCount() int
- func (fake *PeerLedger) SubmitSnapshotRequestCalls(stub func(uint64) error)
- func (fake *PeerLedger) SubmitSnapshotRequestReturns(result1 error)
- func (fake *PeerLedger) SubmitSnapshotRequestReturnsOnCall(i int, result1 error)
- func (fake *PeerLedger) TxIDExists(arg1 string) (bool, error)
- func (fake *PeerLedger) TxIDExistsArgsForCall(i int) string
- func (fake *PeerLedger) TxIDExistsCallCount() int
- func (fake *PeerLedger) TxIDExistsCalls(stub func(string) (bool, error))
- func (fake *PeerLedger) TxIDExistsReturns(result1 bool, result2 error)
- func (fake *PeerLedger) TxIDExistsReturnsOnCall(i int, result1 bool, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionPolicyChecker ¶
type CollectionPolicyChecker struct { CheckCollectionPolicyStub func(uint64, string, string, ledger.ConfigHistoryRetriever, msp.IdentityDeserializer, *protoutil.SignedData) (bool, error) // contains filtered or unexported fields }
func (*CollectionPolicyChecker) CheckCollectionPolicy ¶
func (fake *CollectionPolicyChecker) CheckCollectionPolicy(arg1 uint64, arg2 string, arg3 string, arg4 ledger.ConfigHistoryRetriever, arg5 msp.IdentityDeserializer, arg6 *protoutil.SignedData) (bool, error)
func (*CollectionPolicyChecker) CheckCollectionPolicyArgsForCall ¶
func (fake *CollectionPolicyChecker) CheckCollectionPolicyArgsForCall(i int) (uint64, string, string, ledger.ConfigHistoryRetriever, msp.IdentityDeserializer, *protoutil.SignedData)
func (*CollectionPolicyChecker) CheckCollectionPolicyCallCount ¶
func (fake *CollectionPolicyChecker) CheckCollectionPolicyCallCount() int
func (*CollectionPolicyChecker) CheckCollectionPolicyCalls ¶
func (fake *CollectionPolicyChecker) CheckCollectionPolicyCalls(stub func(uint64, string, string, ledger.ConfigHistoryRetriever, msp.IdentityDeserializer, *protoutil.SignedData) (bool, error))
func (*CollectionPolicyChecker) CheckCollectionPolicyReturns ¶
func (fake *CollectionPolicyChecker) CheckCollectionPolicyReturns(result1 bool, result2 error)
func (*CollectionPolicyChecker) CheckCollectionPolicyReturnsOnCall ¶
func (fake *CollectionPolicyChecker) CheckCollectionPolicyReturnsOnCall(i int, result1 bool, result2 error)
func (*CollectionPolicyChecker) Invocations ¶
func (fake *CollectionPolicyChecker) Invocations() map[string][][]interface{}
type IdentityDeserializerManager ¶
type IdentityDeserializerManager struct { DeserializerStub func(string) (msp.IdentityDeserializer, error) // contains filtered or unexported fields }
func (*IdentityDeserializerManager) Deserializer ¶
func (fake *IdentityDeserializerManager) Deserializer(arg1 string) (msp.IdentityDeserializer, error)
func (*IdentityDeserializerManager) DeserializerArgsForCall ¶
func (fake *IdentityDeserializerManager) DeserializerArgsForCall(i int) string
func (*IdentityDeserializerManager) DeserializerCallCount ¶
func (fake *IdentityDeserializerManager) DeserializerCallCount() int
func (*IdentityDeserializerManager) DeserializerCalls ¶
func (fake *IdentityDeserializerManager) DeserializerCalls(stub func(string) (msp.IdentityDeserializer, error))
func (*IdentityDeserializerManager) DeserializerReturns ¶
func (fake *IdentityDeserializerManager) DeserializerReturns(result1 msp.IdentityDeserializer, result2 error)
func (*IdentityDeserializerManager) DeserializerReturnsOnCall ¶
func (fake *IdentityDeserializerManager) DeserializerReturnsOnCall(i int, result1 msp.IdentityDeserializer, result2 error)
func (*IdentityDeserializerManager) Invocations ¶
func (fake *IdentityDeserializerManager) Invocations() map[string][][]interface{}
type PeerLedger ¶
type PeerLedger struct { CancelSnapshotRequestStub func(uint64) error CloseStub func() CommitLegacyStub func(*ledger.BlockAndPvtData, *ledger.CommitOptions) error CommitPvtDataOfOldBlocksStub func([]*ledger.ReconciledPvtdata, ledger.MissingPvtDataInfo) ([]*ledger.PvtdataHashMismatch, error) DoesPvtDataInfoExistStub func(uint64) (bool, error) GetBlockByHashStub func([]byte) (*common.Block, error) GetBlockByNumberStub func(uint64) (*common.Block, error) GetBlockByTxIDStub func(string) (*common.Block, error) GetBlockchainInfoStub func() (*common.BlockchainInfo, error) GetBlocksIteratorStub func(uint64) (ledgera.ResultsIterator, error) GetConfigHistoryRetrieverStub func() (ledger.ConfigHistoryRetriever, error) GetMissingPvtDataTrackerStub func() (ledger.MissingPvtDataTracker, error) GetPvtDataAndBlockByNumStub func(uint64, ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error) GetPvtDataByNumStub func(uint64, ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error) GetTransactionByIDStub func(string) (*peera.ProcessedTransaction, error) GetTxValidationCodeByTxIDStub func(string) (peera.TxValidationCode, error) NewHistoryQueryExecutorStub func() (ledger.HistoryQueryExecutor, error) NewQueryExecutorStub func() (ledger.QueryExecutor, error) NewTxSimulatorStub func(string) (ledger.TxSimulator, error) PendingSnapshotRequestsStub func() ([]uint64, error) SubmitSnapshotRequestStub func(uint64) error TxIDExistsStub func(string) (bool, error) // contains filtered or unexported fields }
func (*PeerLedger) CancelSnapshotRequest ¶
func (fake *PeerLedger) CancelSnapshotRequest(arg1 uint64) error
func (*PeerLedger) CancelSnapshotRequestArgsForCall ¶
func (fake *PeerLedger) CancelSnapshotRequestArgsForCall(i int) uint64
func (*PeerLedger) CancelSnapshotRequestCallCount ¶
func (fake *PeerLedger) CancelSnapshotRequestCallCount() int
func (*PeerLedger) CancelSnapshotRequestCalls ¶
func (fake *PeerLedger) CancelSnapshotRequestCalls(stub func(uint64) error)
func (*PeerLedger) CancelSnapshotRequestReturns ¶
func (fake *PeerLedger) CancelSnapshotRequestReturns(result1 error)
func (*PeerLedger) CancelSnapshotRequestReturnsOnCall ¶
func (fake *PeerLedger) CancelSnapshotRequestReturnsOnCall(i int, result1 error)
func (*PeerLedger) Close ¶
func (fake *PeerLedger) Close()
func (*PeerLedger) CloseCallCount ¶
func (fake *PeerLedger) CloseCallCount() int
func (*PeerLedger) CloseCalls ¶
func (fake *PeerLedger) CloseCalls(stub func())
func (*PeerLedger) CommitLegacy ¶
func (fake *PeerLedger) CommitLegacy(arg1 *ledger.BlockAndPvtData, arg2 *ledger.CommitOptions) error
func (*PeerLedger) CommitLegacyArgsForCall ¶
func (fake *PeerLedger) CommitLegacyArgsForCall(i int) (*ledger.BlockAndPvtData, *ledger.CommitOptions)
func (*PeerLedger) CommitLegacyCallCount ¶
func (fake *PeerLedger) CommitLegacyCallCount() int
func (*PeerLedger) CommitLegacyCalls ¶
func (fake *PeerLedger) CommitLegacyCalls(stub func(*ledger.BlockAndPvtData, *ledger.CommitOptions) error)
func (*PeerLedger) CommitLegacyReturns ¶
func (fake *PeerLedger) CommitLegacyReturns(result1 error)
func (*PeerLedger) CommitLegacyReturnsOnCall ¶
func (fake *PeerLedger) CommitLegacyReturnsOnCall(i int, result1 error)
func (*PeerLedger) CommitPvtDataOfOldBlocks ¶
func (fake *PeerLedger) CommitPvtDataOfOldBlocks(arg1 []*ledger.ReconciledPvtdata, arg2 ledger.MissingPvtDataInfo) ([]*ledger.PvtdataHashMismatch, error)
func (*PeerLedger) CommitPvtDataOfOldBlocksArgsForCall ¶
func (fake *PeerLedger) CommitPvtDataOfOldBlocksArgsForCall(i int) ([]*ledger.ReconciledPvtdata, ledger.MissingPvtDataInfo)
func (*PeerLedger) CommitPvtDataOfOldBlocksCallCount ¶
func (fake *PeerLedger) CommitPvtDataOfOldBlocksCallCount() int
func (*PeerLedger) CommitPvtDataOfOldBlocksCalls ¶
func (fake *PeerLedger) CommitPvtDataOfOldBlocksCalls(stub func([]*ledger.ReconciledPvtdata, ledger.MissingPvtDataInfo) ([]*ledger.PvtdataHashMismatch, error))
func (*PeerLedger) CommitPvtDataOfOldBlocksReturns ¶
func (fake *PeerLedger) CommitPvtDataOfOldBlocksReturns(result1 []*ledger.PvtdataHashMismatch, result2 error)
func (*PeerLedger) CommitPvtDataOfOldBlocksReturnsOnCall ¶
func (fake *PeerLedger) CommitPvtDataOfOldBlocksReturnsOnCall(i int, result1 []*ledger.PvtdataHashMismatch, result2 error)
func (*PeerLedger) DoesPvtDataInfoExist ¶
func (fake *PeerLedger) DoesPvtDataInfoExist(arg1 uint64) (bool, error)
func (*PeerLedger) DoesPvtDataInfoExistArgsForCall ¶
func (fake *PeerLedger) DoesPvtDataInfoExistArgsForCall(i int) uint64
func (*PeerLedger) DoesPvtDataInfoExistCallCount ¶
func (fake *PeerLedger) DoesPvtDataInfoExistCallCount() int
func (*PeerLedger) DoesPvtDataInfoExistCalls ¶
func (fake *PeerLedger) DoesPvtDataInfoExistCalls(stub func(uint64) (bool, error))
func (*PeerLedger) DoesPvtDataInfoExistReturns ¶
func (fake *PeerLedger) DoesPvtDataInfoExistReturns(result1 bool, result2 error)
func (*PeerLedger) DoesPvtDataInfoExistReturnsOnCall ¶
func (fake *PeerLedger) DoesPvtDataInfoExistReturnsOnCall(i int, result1 bool, result2 error)
func (*PeerLedger) GetBlockByHash ¶
func (fake *PeerLedger) GetBlockByHash(arg1 []byte) (*common.Block, error)
func (*PeerLedger) GetBlockByHashArgsForCall ¶
func (fake *PeerLedger) GetBlockByHashArgsForCall(i int) []byte
func (*PeerLedger) GetBlockByHashCallCount ¶
func (fake *PeerLedger) GetBlockByHashCallCount() int
func (*PeerLedger) GetBlockByHashCalls ¶
func (fake *PeerLedger) GetBlockByHashCalls(stub func([]byte) (*common.Block, error))
func (*PeerLedger) GetBlockByHashReturns ¶
func (fake *PeerLedger) GetBlockByHashReturns(result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockByHashReturnsOnCall ¶
func (fake *PeerLedger) GetBlockByHashReturnsOnCall(i int, result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockByNumber ¶
func (fake *PeerLedger) GetBlockByNumber(arg1 uint64) (*common.Block, error)
func (*PeerLedger) GetBlockByNumberArgsForCall ¶
func (fake *PeerLedger) GetBlockByNumberArgsForCall(i int) uint64
func (*PeerLedger) GetBlockByNumberCallCount ¶
func (fake *PeerLedger) GetBlockByNumberCallCount() int
func (*PeerLedger) GetBlockByNumberCalls ¶
func (fake *PeerLedger) GetBlockByNumberCalls(stub func(uint64) (*common.Block, error))
func (*PeerLedger) GetBlockByNumberReturns ¶
func (fake *PeerLedger) GetBlockByNumberReturns(result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockByNumberReturnsOnCall ¶
func (fake *PeerLedger) GetBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockByTxID ¶
func (fake *PeerLedger) GetBlockByTxID(arg1 string) (*common.Block, error)
func (*PeerLedger) GetBlockByTxIDArgsForCall ¶
func (fake *PeerLedger) GetBlockByTxIDArgsForCall(i int) string
func (*PeerLedger) GetBlockByTxIDCallCount ¶
func (fake *PeerLedger) GetBlockByTxIDCallCount() int
func (*PeerLedger) GetBlockByTxIDCalls ¶
func (fake *PeerLedger) GetBlockByTxIDCalls(stub func(string) (*common.Block, error))
func (*PeerLedger) GetBlockByTxIDReturns ¶
func (fake *PeerLedger) GetBlockByTxIDReturns(result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockByTxIDReturnsOnCall ¶
func (fake *PeerLedger) GetBlockByTxIDReturnsOnCall(i int, result1 *common.Block, result2 error)
func (*PeerLedger) GetBlockchainInfo ¶
func (fake *PeerLedger) GetBlockchainInfo() (*common.BlockchainInfo, error)
func (*PeerLedger) GetBlockchainInfoCallCount ¶
func (fake *PeerLedger) GetBlockchainInfoCallCount() int
func (*PeerLedger) GetBlockchainInfoCalls ¶
func (fake *PeerLedger) GetBlockchainInfoCalls(stub func() (*common.BlockchainInfo, error))
func (*PeerLedger) GetBlockchainInfoReturns ¶
func (fake *PeerLedger) GetBlockchainInfoReturns(result1 *common.BlockchainInfo, result2 error)
func (*PeerLedger) GetBlockchainInfoReturnsOnCall ¶
func (fake *PeerLedger) GetBlockchainInfoReturnsOnCall(i int, result1 *common.BlockchainInfo, result2 error)
func (*PeerLedger) GetBlocksIterator ¶
func (fake *PeerLedger) GetBlocksIterator(arg1 uint64) (ledgera.ResultsIterator, error)
func (*PeerLedger) GetBlocksIteratorArgsForCall ¶
func (fake *PeerLedger) GetBlocksIteratorArgsForCall(i int) uint64
func (*PeerLedger) GetBlocksIteratorCallCount ¶
func (fake *PeerLedger) GetBlocksIteratorCallCount() int
func (*PeerLedger) GetBlocksIteratorCalls ¶
func (fake *PeerLedger) GetBlocksIteratorCalls(stub func(uint64) (ledgera.ResultsIterator, error))
func (*PeerLedger) GetBlocksIteratorReturns ¶
func (fake *PeerLedger) GetBlocksIteratorReturns(result1 ledgera.ResultsIterator, result2 error)
func (*PeerLedger) GetBlocksIteratorReturnsOnCall ¶
func (fake *PeerLedger) GetBlocksIteratorReturnsOnCall(i int, result1 ledgera.ResultsIterator, result2 error)
func (*PeerLedger) GetConfigHistoryRetriever ¶
func (fake *PeerLedger) GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
func (*PeerLedger) GetConfigHistoryRetrieverCallCount ¶
func (fake *PeerLedger) GetConfigHistoryRetrieverCallCount() int
func (*PeerLedger) GetConfigHistoryRetrieverCalls ¶
func (fake *PeerLedger) GetConfigHistoryRetrieverCalls(stub func() (ledger.ConfigHistoryRetriever, error))
func (*PeerLedger) GetConfigHistoryRetrieverReturns ¶
func (fake *PeerLedger) GetConfigHistoryRetrieverReturns(result1 ledger.ConfigHistoryRetriever, result2 error)
func (*PeerLedger) GetConfigHistoryRetrieverReturnsOnCall ¶
func (fake *PeerLedger) GetConfigHistoryRetrieverReturnsOnCall(i int, result1 ledger.ConfigHistoryRetriever, result2 error)
func (*PeerLedger) GetMissingPvtDataTracker ¶
func (fake *PeerLedger) GetMissingPvtDataTracker() (ledger.MissingPvtDataTracker, error)
func (*PeerLedger) GetMissingPvtDataTrackerCallCount ¶
func (fake *PeerLedger) GetMissingPvtDataTrackerCallCount() int
func (*PeerLedger) GetMissingPvtDataTrackerCalls ¶
func (fake *PeerLedger) GetMissingPvtDataTrackerCalls(stub func() (ledger.MissingPvtDataTracker, error))
func (*PeerLedger) GetMissingPvtDataTrackerReturns ¶
func (fake *PeerLedger) GetMissingPvtDataTrackerReturns(result1 ledger.MissingPvtDataTracker, result2 error)
func (*PeerLedger) GetMissingPvtDataTrackerReturnsOnCall ¶
func (fake *PeerLedger) GetMissingPvtDataTrackerReturnsOnCall(i int, result1 ledger.MissingPvtDataTracker, result2 error)
func (*PeerLedger) GetPvtDataAndBlockByNum ¶
func (fake *PeerLedger) GetPvtDataAndBlockByNum(arg1 uint64, arg2 ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error)
func (*PeerLedger) GetPvtDataAndBlockByNumArgsForCall ¶
func (fake *PeerLedger) GetPvtDataAndBlockByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
func (*PeerLedger) GetPvtDataAndBlockByNumCallCount ¶
func (fake *PeerLedger) GetPvtDataAndBlockByNumCallCount() int
func (*PeerLedger) GetPvtDataAndBlockByNumCalls ¶
func (fake *PeerLedger) GetPvtDataAndBlockByNumCalls(stub func(uint64, ledger.PvtNsCollFilter) (*ledger.BlockAndPvtData, error))
func (*PeerLedger) GetPvtDataAndBlockByNumReturns ¶
func (fake *PeerLedger) GetPvtDataAndBlockByNumReturns(result1 *ledger.BlockAndPvtData, result2 error)
func (*PeerLedger) GetPvtDataAndBlockByNumReturnsOnCall ¶
func (fake *PeerLedger) GetPvtDataAndBlockByNumReturnsOnCall(i int, result1 *ledger.BlockAndPvtData, result2 error)
func (*PeerLedger) GetPvtDataByNum ¶
func (fake *PeerLedger) GetPvtDataByNum(arg1 uint64, arg2 ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error)
func (*PeerLedger) GetPvtDataByNumArgsForCall ¶
func (fake *PeerLedger) GetPvtDataByNumArgsForCall(i int) (uint64, ledger.PvtNsCollFilter)
func (*PeerLedger) GetPvtDataByNumCallCount ¶
func (fake *PeerLedger) GetPvtDataByNumCallCount() int
func (*PeerLedger) GetPvtDataByNumCalls ¶
func (fake *PeerLedger) GetPvtDataByNumCalls(stub func(uint64, ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error))
func (*PeerLedger) GetPvtDataByNumReturns ¶
func (fake *PeerLedger) GetPvtDataByNumReturns(result1 []*ledger.TxPvtData, result2 error)
func (*PeerLedger) GetPvtDataByNumReturnsOnCall ¶
func (fake *PeerLedger) GetPvtDataByNumReturnsOnCall(i int, result1 []*ledger.TxPvtData, result2 error)
func (*PeerLedger) GetTransactionByID ¶
func (fake *PeerLedger) GetTransactionByID(arg1 string) (*peera.ProcessedTransaction, error)
func (*PeerLedger) GetTransactionByIDArgsForCall ¶
func (fake *PeerLedger) GetTransactionByIDArgsForCall(i int) string
func (*PeerLedger) GetTransactionByIDCallCount ¶
func (fake *PeerLedger) GetTransactionByIDCallCount() int
func (*PeerLedger) GetTransactionByIDCalls ¶
func (fake *PeerLedger) GetTransactionByIDCalls(stub func(string) (*peera.ProcessedTransaction, error))
func (*PeerLedger) GetTransactionByIDReturns ¶
func (fake *PeerLedger) GetTransactionByIDReturns(result1 *peera.ProcessedTransaction, result2 error)
func (*PeerLedger) GetTransactionByIDReturnsOnCall ¶
func (fake *PeerLedger) GetTransactionByIDReturnsOnCall(i int, result1 *peera.ProcessedTransaction, result2 error)
func (*PeerLedger) GetTxValidationCodeByTxID ¶
func (fake *PeerLedger) GetTxValidationCodeByTxID(arg1 string) (peera.TxValidationCode, error)
func (*PeerLedger) GetTxValidationCodeByTxIDArgsForCall ¶
func (fake *PeerLedger) GetTxValidationCodeByTxIDArgsForCall(i int) string
func (*PeerLedger) GetTxValidationCodeByTxIDCallCount ¶
func (fake *PeerLedger) GetTxValidationCodeByTxIDCallCount() int
func (*PeerLedger) GetTxValidationCodeByTxIDCalls ¶
func (fake *PeerLedger) GetTxValidationCodeByTxIDCalls(stub func(string) (peera.TxValidationCode, error))
func (*PeerLedger) GetTxValidationCodeByTxIDReturns ¶
func (fake *PeerLedger) GetTxValidationCodeByTxIDReturns(result1 peera.TxValidationCode, result2 error)
func (*PeerLedger) GetTxValidationCodeByTxIDReturnsOnCall ¶
func (fake *PeerLedger) GetTxValidationCodeByTxIDReturnsOnCall(i int, result1 peera.TxValidationCode, result2 error)
func (*PeerLedger) Invocations ¶
func (fake *PeerLedger) Invocations() map[string][][]interface{}
func (*PeerLedger) NewHistoryQueryExecutor ¶
func (fake *PeerLedger) NewHistoryQueryExecutor() (ledger.HistoryQueryExecutor, error)
func (*PeerLedger) NewHistoryQueryExecutorCallCount ¶
func (fake *PeerLedger) NewHistoryQueryExecutorCallCount() int
func (*PeerLedger) NewHistoryQueryExecutorCalls ¶
func (fake *PeerLedger) NewHistoryQueryExecutorCalls(stub func() (ledger.HistoryQueryExecutor, error))
func (*PeerLedger) NewHistoryQueryExecutorReturns ¶
func (fake *PeerLedger) NewHistoryQueryExecutorReturns(result1 ledger.HistoryQueryExecutor, result2 error)
func (*PeerLedger) NewHistoryQueryExecutorReturnsOnCall ¶
func (fake *PeerLedger) NewHistoryQueryExecutorReturnsOnCall(i int, result1 ledger.HistoryQueryExecutor, result2 error)
func (*PeerLedger) NewQueryExecutor ¶
func (fake *PeerLedger) NewQueryExecutor() (ledger.QueryExecutor, error)
func (*PeerLedger) NewQueryExecutorCallCount ¶
func (fake *PeerLedger) NewQueryExecutorCallCount() int
func (*PeerLedger) NewQueryExecutorCalls ¶
func (fake *PeerLedger) NewQueryExecutorCalls(stub func() (ledger.QueryExecutor, error))
func (*PeerLedger) NewQueryExecutorReturns ¶
func (fake *PeerLedger) NewQueryExecutorReturns(result1 ledger.QueryExecutor, result2 error)
func (*PeerLedger) NewQueryExecutorReturnsOnCall ¶
func (fake *PeerLedger) NewQueryExecutorReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)
func (*PeerLedger) NewTxSimulator ¶
func (fake *PeerLedger) NewTxSimulator(arg1 string) (ledger.TxSimulator, error)
func (*PeerLedger) NewTxSimulatorArgsForCall ¶
func (fake *PeerLedger) NewTxSimulatorArgsForCall(i int) string
func (*PeerLedger) NewTxSimulatorCallCount ¶
func (fake *PeerLedger) NewTxSimulatorCallCount() int
func (*PeerLedger) NewTxSimulatorCalls ¶
func (fake *PeerLedger) NewTxSimulatorCalls(stub func(string) (ledger.TxSimulator, error))
func (*PeerLedger) NewTxSimulatorReturns ¶
func (fake *PeerLedger) NewTxSimulatorReturns(result1 ledger.TxSimulator, result2 error)
func (*PeerLedger) NewTxSimulatorReturnsOnCall ¶
func (fake *PeerLedger) NewTxSimulatorReturnsOnCall(i int, result1 ledger.TxSimulator, result2 error)
func (*PeerLedger) PendingSnapshotRequests ¶
func (fake *PeerLedger) PendingSnapshotRequests() ([]uint64, error)
func (*PeerLedger) PendingSnapshotRequestsCallCount ¶
func (fake *PeerLedger) PendingSnapshotRequestsCallCount() int
func (*PeerLedger) PendingSnapshotRequestsCalls ¶
func (fake *PeerLedger) PendingSnapshotRequestsCalls(stub func() ([]uint64, error))
func (*PeerLedger) PendingSnapshotRequestsReturns ¶
func (fake *PeerLedger) PendingSnapshotRequestsReturns(result1 []uint64, result2 error)
func (*PeerLedger) PendingSnapshotRequestsReturnsOnCall ¶
func (fake *PeerLedger) PendingSnapshotRequestsReturnsOnCall(i int, result1 []uint64, result2 error)
func (*PeerLedger) SubmitSnapshotRequest ¶
func (fake *PeerLedger) SubmitSnapshotRequest(arg1 uint64) error
func (*PeerLedger) SubmitSnapshotRequestArgsForCall ¶
func (fake *PeerLedger) SubmitSnapshotRequestArgsForCall(i int) uint64
func (*PeerLedger) SubmitSnapshotRequestCallCount ¶
func (fake *PeerLedger) SubmitSnapshotRequestCallCount() int
func (*PeerLedger) SubmitSnapshotRequestCalls ¶
func (fake *PeerLedger) SubmitSnapshotRequestCalls(stub func(uint64) error)
func (*PeerLedger) SubmitSnapshotRequestReturns ¶
func (fake *PeerLedger) SubmitSnapshotRequestReturns(result1 error)
func (*PeerLedger) SubmitSnapshotRequestReturnsOnCall ¶
func (fake *PeerLedger) SubmitSnapshotRequestReturnsOnCall(i int, result1 error)
func (*PeerLedger) TxIDExists ¶
func (fake *PeerLedger) TxIDExists(arg1 string) (bool, error)
func (*PeerLedger) TxIDExistsArgsForCall ¶
func (fake *PeerLedger) TxIDExistsArgsForCall(i int) string
func (*PeerLedger) TxIDExistsCallCount ¶
func (fake *PeerLedger) TxIDExistsCallCount() int
func (*PeerLedger) TxIDExistsCalls ¶
func (fake *PeerLedger) TxIDExistsCalls(stub func(string) (bool, error))
func (*PeerLedger) TxIDExistsReturns ¶
func (fake *PeerLedger) TxIDExistsReturns(result1 bool, result2 error)
func (*PeerLedger) TxIDExistsReturnsOnCall ¶
func (fake *PeerLedger) TxIDExistsReturnsOnCall(i int, result1 bool, result2 error)
Click to show internal directories.
Click to hide internal directories.