Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockGrpcHandlers
- func (m *MockGrpcHandlers) Broadcast(arg0 context.Context, arg1 *waves.SignedTransaction) (*waves.SignedTransaction, error)
- func (m *MockGrpcHandlers) EXPECT() *MockGrpcHandlersMockRecorder
- func (m *MockGrpcHandlers) GetActivationStatus(arg0 context.Context, arg1 *grpc.ActivationStatusRequest) (*grpc.ActivationStatusResponse, error)
- func (m *MockGrpcHandlers) GetActiveLeases(arg0 *grpc.AccountRequest, arg1 grpc.AccountsApi_GetActiveLeasesServer) error
- func (m *MockGrpcHandlers) GetBalances(arg0 *grpc.BalancesRequest, arg1 grpc.AccountsApi_GetBalancesServer) error
- func (m *MockGrpcHandlers) GetBaseTarget(arg0 context.Context, arg1 *emptypb.Empty) (*grpc.BaseTargetResponse, error)
- func (m *MockGrpcHandlers) GetBlock(arg0 context.Context, arg1 *grpc.BlockRequest) (*grpc.BlockWithHeight, error)
- func (m *MockGrpcHandlers) GetBlockRange(arg0 *grpc.BlockRangeRequest, arg1 grpc.BlocksApi_GetBlockRangeServer) error
- func (m *MockGrpcHandlers) GetCumulativeScore(arg0 context.Context, arg1 *emptypb.Empty) (*grpc.ScoreResponse, error)
- func (m *MockGrpcHandlers) GetCurrentHeight(arg0 context.Context, arg1 *emptypb.Empty) (*wrapperspb.UInt32Value, error)
- func (m *MockGrpcHandlers) GetDataEntries(arg0 *grpc.DataRequest, arg1 grpc.AccountsApi_GetDataEntriesServer) error
- func (m *MockGrpcHandlers) GetInfo(arg0 context.Context, arg1 *grpc.AssetRequest) (*grpc.AssetInfoResponse, error)
- func (m *MockGrpcHandlers) GetNFTList(arg0 *grpc.NFTRequest, arg1 grpc.AssetsApi_GetNFTListServer) error
- func (m *MockGrpcHandlers) GetScript(arg0 context.Context, arg1 *grpc.AccountRequest) (*grpc.ScriptData, error)
- func (m *MockGrpcHandlers) GetStateChanges(arg0 *grpc.TransactionsRequest, ...) error
- func (m *MockGrpcHandlers) GetStatuses(arg0 *grpc.TransactionsByIdRequest, ...) error
- func (m *MockGrpcHandlers) GetTransactions(arg0 *grpc.TransactionsRequest, ...) error
- func (m *MockGrpcHandlers) GetUnconfirmed(arg0 *grpc.TransactionsRequest, arg1 grpc.TransactionsApi_GetUnconfirmedServer) error
- func (m *MockGrpcHandlers) ResolveAlias(arg0 context.Context, arg1 *wrapperspb.StringValue) (*wrapperspb.BytesValue, error)
- func (m *MockGrpcHandlers) Sign(arg0 context.Context, arg1 *grpc.SignRequest) (*waves.SignedTransaction, error)
- type MockGrpcHandlersMockRecorder
- func (mr *MockGrpcHandlersMockRecorder) Broadcast(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetActivationStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetActiveLeases(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetBalances(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetBaseTarget(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetBlockRange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetCumulativeScore(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetCurrentHeight(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetDataEntries(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetNFTList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetScript(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetStateChanges(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetStatuses(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetTransactions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) GetUnconfirmed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) ResolveAlias(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGrpcHandlersMockRecorder) Sign(arg0, arg1 interface{}) *gomock.Call
- type MockPeer
- func (m *MockPeer) Close() error
- func (m *MockPeer) Connection() conn.Connection
- func (m *MockPeer) Direction() peer.Direction
- func (m *MockPeer) EXPECT() *MockPeerMockRecorder
- func (m *MockPeer) Handshake() proto.Handshake
- func (m *MockPeer) ID() peer.ID
- func (m *MockPeer) RemoteAddr() proto.TCPAddr
- func (m *MockPeer) SendMessage(arg0 proto.Message)
- type MockPeerManager
- func (m *MockPeerManager) AddToBlackList(peer peer.Peer, blockTime time.Time, reason string)
- func (m *MockPeerManager) AskPeers()
- func (m *MockPeerManager) BlackList() []storage.BlackListedPeer
- func (m *MockPeerManager) ClearBlackList() error
- func (m *MockPeerManager) Close()
- func (m *MockPeerManager) Connect(arg0 context.Context, arg1 proto.TCPAddr) error
- func (m *MockPeerManager) ConnectedCount() int
- func (m *MockPeerManager) Disconnect(arg0 peer.Peer)
- func (m *MockPeerManager) EXPECT() *MockPeerManagerMockRecorder
- func (m *MockPeerManager) EachConnected(arg0 func(peer.Peer, *proto.Score))
- func (m *MockPeerManager) GetPeerWithMaxScore() (peer.Peer, error)
- func (m *MockPeerManager) KnownPeers() []storage.KnownPeer
- func (m *MockPeerManager) NewConnection(arg0 peer.Peer) error
- func (m *MockPeerManager) Score(p peer.Peer) (*proto.Score, error)
- func (m *MockPeerManager) SpawnIncomingConnection(ctx context.Context, conn net.Conn) error
- func (m *MockPeerManager) SpawnOutgoingConnections(arg0 context.Context)
- func (m *MockPeerManager) Spawned() []proto.IpPort
- func (m *MockPeerManager) Suspend(peer peer.Peer, suspendTime time.Time, reason string)
- func (m *MockPeerManager) Suspended() []storage.SuspendedPeer
- func (m *MockPeerManager) UpdateKnownPeers(arg0 []storage.KnownPeer) error
- func (m *MockPeerManager) UpdateScore(p peer.Peer, score *proto.Score) error
- type MockPeerManagerMockRecorder
- func (mr *MockPeerManagerMockRecorder) AddToBlackList(peer, blockTime, reason interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) AskPeers() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) BlackList() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) ClearBlackList() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) Close() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) Connect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) ConnectedCount() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) Disconnect(arg0 interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) EachConnected(arg0 interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) GetPeerWithMaxScore() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) KnownPeers() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) NewConnection(arg0 interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) Score(p interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) SpawnIncomingConnection(ctx, conn interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) SpawnOutgoingConnections(arg0 interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) Spawned() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) Suspend(peer, suspendTime, reason interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) Suspended() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) UpdateKnownPeers(arg0 interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) UpdateScore(p, score interface{}) *gomock.Call
- type MockPeerMockRecorder
- func (mr *MockPeerMockRecorder) Close() *gomock.Call
- func (mr *MockPeerMockRecorder) Connection() *gomock.Call
- func (mr *MockPeerMockRecorder) Direction() *gomock.Call
- func (mr *MockPeerMockRecorder) Handshake() *gomock.Call
- func (mr *MockPeerMockRecorder) ID() *gomock.Call
- func (mr *MockPeerMockRecorder) RemoteAddr() *gomock.Call
- func (mr *MockPeerMockRecorder) SendMessage(arg0 interface{}) *gomock.Call
- type MockPeerStorage
- func (m *MockPeerStorage) AddOrUpdateKnown(known []storage.KnownPeer, now time.Time) error
- func (m *MockPeerStorage) AddSuspended(suspended []storage.SuspendedPeer) error
- func (m *MockPeerStorage) AddToBlackList(blackListed []storage.BlackListedPeer) error
- func (m *MockPeerStorage) BlackList(now time.Time) []storage.BlackListedPeer
- func (m *MockPeerStorage) DeleteBlackListedByIP(blackListed []storage.BlackListedPeer) error
- func (m *MockPeerStorage) DeleteKnown(known []storage.KnownPeer) error
- func (m *MockPeerStorage) DeleteSuspendedByIP(suspended []storage.SuspendedPeer) error
- func (m *MockPeerStorage) DropBlackList() error
- func (m *MockPeerStorage) DropKnown() error
- func (m *MockPeerStorage) DropStorage() error
- func (m *MockPeerStorage) DropSuspended() error
- func (m *MockPeerStorage) EXPECT() *MockPeerStorageMockRecorder
- func (m *MockPeerStorage) IsBlackListedIP(ip storage.IP, now time.Time) bool
- func (m *MockPeerStorage) IsBlackListedIPs(ips []storage.IP, now time.Time) []bool
- func (m *MockPeerStorage) IsSuspendedIP(ip storage.IP, now time.Time) bool
- func (m *MockPeerStorage) IsSuspendedIPs(ips []storage.IP, now time.Time) []bool
- func (m *MockPeerStorage) Known(limit int) []storage.KnownPeer
- func (m *MockPeerStorage) RefreshBlackList(now time.Time) error
- func (m *MockPeerStorage) RefreshSuspended(now time.Time) error
- func (m *MockPeerStorage) Suspended(now time.Time) []storage.SuspendedPeer
- type MockPeerStorageMockRecorder
- func (mr *MockPeerStorageMockRecorder) AddOrUpdateKnown(known, now interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) AddSuspended(suspended interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) AddToBlackList(blackListed interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) BlackList(now interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) DeleteBlackListedByIP(blackListed interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) DeleteKnown(known interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) DeleteSuspendedByIP(suspended interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) DropBlackList() *gomock.Call
- func (mr *MockPeerStorageMockRecorder) DropKnown() *gomock.Call
- func (mr *MockPeerStorageMockRecorder) DropStorage() *gomock.Call
- func (mr *MockPeerStorageMockRecorder) DropSuspended() *gomock.Call
- func (mr *MockPeerStorageMockRecorder) IsBlackListedIP(ip, now interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) IsBlackListedIPs(ips, now interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) IsSuspendedIP(ip, now interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) IsSuspendedIPs(ips, now interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) Known(limit interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) RefreshBlackList(now interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) RefreshSuspended(now interface{}) *gomock.Call
- func (mr *MockPeerStorageMockRecorder) Suspended(now interface{}) *gomock.Call
- type MockState
- func (m *MockState) ActivationHeight(featureID int16) (proto.Height, error)
- func (m *MockState) AddBlock(block []byte) (*proto.Block, error)
- func (m *MockState) AddBlocks(blocks [][]byte) error
- func (m *MockState) AddDeserializedBlock(block *proto.Block) (*proto.Block, error)
- func (m *MockState) AddDeserializedBlocks(blocks []*proto.Block) (*proto.Block, error)
- func (m *MockState) AddrByAlias(alias proto.Alias) (proto.WavesAddress, error)
- func (m *MockState) AliasesByAddr(addr proto.WavesAddress) ([]string, error)
- func (m *MockState) AllFeatures() ([]int16, error)
- func (m *MockState) ApprovalHeight(featureID int16) (proto.Height, error)
- func (m *MockState) AssetBalance(account proto.Recipient, assetID proto.AssetID) (uint64, error)
- func (m *MockState) AssetInfo(assetID proto.AssetID) (*proto.AssetInfo, error)
- func (m *MockState) AssetIsSponsored(assetID proto.AssetID) (bool, error)
- func (m *MockState) Block(blockID proto.BlockID) (*proto.Block, error)
- func (m *MockState) BlockByHeight(height proto.Height) (*proto.Block, error)
- func (m *MockState) BlockIDToHeight(blockID proto.BlockID) (proto.Height, error)
- func (m *MockState) BlockchainSettings() (*settings.BlockchainSettings, error)
- func (m *MockState) Close() error
- func (m *MockState) CurrentScore() (*big.Int, error)
- func (m *MockState) EXPECT() *MockStateMockRecorder
- func (m *MockState) EffectiveBalance(account proto.Recipient, startHeight, endHeight proto.Height) (uint64, error)
- func (m *MockState) EnrichedFullAssetInfo(assetID proto.AssetID) (*proto.EnrichedFullAssetInfo, error)
- func (m *MockState) EstimatorVersion() (int, error)
- func (m *MockState) FullAssetInfo(assetID proto.AssetID) (*proto.FullAssetInfo, error)
- func (m *MockState) FullWavesBalance(account proto.Recipient) (*proto.FullWavesBalance, error)
- func (m *MockState) Header(blockID proto.BlockID) (*proto.BlockHeader, error)
- func (m *MockState) HeaderByHeight(height proto.Height) (*proto.BlockHeader, error)
- func (m *MockState) Height() (proto.Height, error)
- func (m *MockState) HeightToBlockID(height proto.Height) (proto.BlockID, error)
- func (m *MockState) HitSourceAtHeight(height proto.Height) ([]byte, error)
- func (m *MockState) InvokeResultByID(invokeID crypto.Digest) (*proto.ScriptResult, error)
- func (m *MockState) IsActivated(featureID int16) (bool, error)
- func (m *MockState) IsActiveAtHeight(featureID int16, height proto.Height) (bool, error)
- func (m *MockState) IsActiveLeasing(leaseID crypto.Digest) (bool, error)
- func (m *MockState) IsApproved(featureID int16) (bool, error)
- func (m *MockState) IsApprovedAtHeight(featureID int16, height proto.Height) (bool, error)
- func (m *MockState) IsAssetExist(assetID proto.AssetID) (bool, error)
- func (m *MockState) Map(arg0 func(state.NonThreadSafeState) error) error
- func (m *MockState) MapR(arg0 func(state.StateInfo) (interface{}, error)) (interface{}, error)
- func (m *MockState) NFTList(account proto.Recipient, limit uint64, afterAssetID *proto.AssetID) ([]*proto.FullAssetInfo, error)
- func (m *MockState) NewAddrTransactionsIterator(addr proto.Address) (state.TransactionIterator, error)
- func (m *MockState) NewestScriptByAccount(account proto.Recipient) (*ast.Tree, error)
- func (m *MockState) NewestScriptBytesByAccount(account proto.Recipient) (proto.Script, error)
- func (m *MockState) PersistAddressTransactions() error
- func (m *MockState) ProvidesExtendedApi() (bool, error)
- func (m *MockState) ProvidesStateHashes() (bool, error)
- func (m *MockState) ResetValidationList()
- func (m *MockState) RetrieveBinaryEntry(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)
- func (m *MockState) RetrieveBooleanEntry(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)
- func (m *MockState) RetrieveEntries(account proto.Recipient) ([]proto.DataEntry, error)
- func (m *MockState) RetrieveEntry(account proto.Recipient, key string) (proto.DataEntry, error)
- func (m *MockState) RetrieveIntegerEntry(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)
- func (m *MockState) RetrieveStringEntry(account proto.Recipient, key string) (*proto.StringDataEntry, error)
- func (m *MockState) RollbackTo(removalEdge proto.BlockID) error
- func (m *MockState) RollbackToHeight(height proto.Height) error
- func (m *MockState) ScoreAtHeight(height proto.Height) (*big.Int, error)
- func (m *MockState) ScriptBasicInfoByAccount(account proto.Recipient) (*proto.ScriptBasicInfo, error)
- func (m *MockState) ScriptInfoByAccount(account proto.Recipient) (*proto.ScriptInfo, error)
- func (m *MockState) ScriptInfoByAsset(assetID proto.AssetID) (*proto.ScriptInfo, error)
- func (m *MockState) ShouldPersistAddressTransactions() (bool, error)
- func (m *MockState) StartProvidingExtendedApi() error
- func (m *MockState) StateHashAtHeight(height uint64) (*proto.StateHash, error)
- func (m *MockState) TopBlock() *proto.Block
- func (m *MockState) TransactionByID(id []byte) (proto.Transaction, error)
- func (m *MockState) TransactionByIDWithStatus(id []byte) (proto.Transaction, bool, error)
- func (m *MockState) TransactionHeightByID(id []byte) (uint64, error)
- func (m *MockState) TxValidation(arg0 func(state.TxValidation) error) error
- func (m *MockState) ValidateNextTx(tx proto.Transaction, currentTimestamp, parentTimestamp uint64, ...) error
- func (m *MockState) VotesNum(featureID int16) (uint64, error)
- func (m *MockState) VotesNumAtHeight(featureID int16, height proto.Height) (uint64, error)
- func (m *MockState) WavesAddressesNumber() (uint64, error)
- func (m *MockState) WavesBalance(account proto.Recipient) (uint64, error)
- type MockStateInfo
- func (m *MockStateInfo) ActivationHeight(featureID int16) (proto.Height, error)
- func (m *MockStateInfo) AddrByAlias(alias proto.Alias) (proto.WavesAddress, error)
- func (m *MockStateInfo) AliasesByAddr(addr proto.WavesAddress) ([]string, error)
- func (m *MockStateInfo) AllFeatures() ([]int16, error)
- func (m *MockStateInfo) ApprovalHeight(featureID int16) (proto.Height, error)
- func (m *MockStateInfo) AssetBalance(account proto.Recipient, assetID proto.AssetID) (uint64, error)
- func (m *MockStateInfo) AssetInfo(assetID proto.AssetID) (*proto.AssetInfo, error)
- func (m *MockStateInfo) AssetIsSponsored(assetID proto.AssetID) (bool, error)
- func (m *MockStateInfo) Block(blockID proto.BlockID) (*proto.Block, error)
- func (m *MockStateInfo) BlockByHeight(height proto.Height) (*proto.Block, error)
- func (m *MockStateInfo) BlockIDToHeight(blockID proto.BlockID) (proto.Height, error)
- func (m *MockStateInfo) BlockchainSettings() (*settings.BlockchainSettings, error)
- func (m *MockStateInfo) CurrentScore() (*big.Int, error)
- func (m *MockStateInfo) EXPECT() *MockStateInfoMockRecorder
- func (m *MockStateInfo) EffectiveBalance(account proto.Recipient, startHeight, endHeight proto.Height) (uint64, error)
- func (m *MockStateInfo) EnrichedFullAssetInfo(assetID proto.AssetID) (*proto.EnrichedFullAssetInfo, error)
- func (m *MockStateInfo) EstimatorVersion() (int, error)
- func (m *MockStateInfo) FullAssetInfo(assetID proto.AssetID) (*proto.FullAssetInfo, error)
- func (m *MockStateInfo) FullWavesBalance(account proto.Recipient) (*proto.FullWavesBalance, error)
- func (m *MockStateInfo) Header(blockID proto.BlockID) (*proto.BlockHeader, error)
- func (m *MockStateInfo) HeaderByHeight(height proto.Height) (*proto.BlockHeader, error)
- func (m *MockStateInfo) Height() (proto.Height, error)
- func (m *MockStateInfo) HeightToBlockID(height proto.Height) (proto.BlockID, error)
- func (m *MockStateInfo) HitSourceAtHeight(height proto.Height) ([]byte, error)
- func (m *MockStateInfo) InvokeResultByID(invokeID crypto.Digest) (*proto.ScriptResult, error)
- func (m *MockStateInfo) IsActivated(featureID int16) (bool, error)
- func (m *MockStateInfo) IsActiveAtHeight(featureID int16, height proto.Height) (bool, error)
- func (m *MockStateInfo) IsActiveLeasing(leaseID crypto.Digest) (bool, error)
- func (m *MockStateInfo) IsApproved(featureID int16) (bool, error)
- func (m *MockStateInfo) IsApprovedAtHeight(featureID int16, height proto.Height) (bool, error)
- func (m *MockStateInfo) IsAssetExist(assetID proto.AssetID) (bool, error)
- func (m *MockStateInfo) MapR(arg0 func(state.StateInfo) (interface{}, error)) (interface{}, error)
- func (m *MockStateInfo) NFTList(account proto.Recipient, limit uint64, afterAssetID *proto.AssetID) ([]*proto.FullAssetInfo, error)
- func (m *MockStateInfo) NewAddrTransactionsIterator(addr proto.Address) (state.TransactionIterator, error)
- func (m *MockStateInfo) NewestScriptByAccount(account proto.Recipient) (*ast.Tree, error)
- func (m *MockStateInfo) NewestScriptBytesByAccount(account proto.Recipient) (proto.Script, error)
- func (m *MockStateInfo) ProvidesExtendedApi() (bool, error)
- func (m *MockStateInfo) ProvidesStateHashes() (bool, error)
- func (m *MockStateInfo) RetrieveBinaryEntry(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)
- func (m *MockStateInfo) RetrieveBooleanEntry(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)
- func (m *MockStateInfo) RetrieveEntries(account proto.Recipient) ([]proto.DataEntry, error)
- func (m *MockStateInfo) RetrieveEntry(account proto.Recipient, key string) (proto.DataEntry, error)
- func (m *MockStateInfo) RetrieveIntegerEntry(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)
- func (m *MockStateInfo) RetrieveStringEntry(account proto.Recipient, key string) (*proto.StringDataEntry, error)
- func (m *MockStateInfo) ScoreAtHeight(height proto.Height) (*big.Int, error)
- func (m *MockStateInfo) ScriptBasicInfoByAccount(account proto.Recipient) (*proto.ScriptBasicInfo, error)
- func (m *MockStateInfo) ScriptInfoByAccount(account proto.Recipient) (*proto.ScriptInfo, error)
- func (m *MockStateInfo) ScriptInfoByAsset(assetID proto.AssetID) (*proto.ScriptInfo, error)
- func (m *MockStateInfo) ShouldPersistAddressTransactions() (bool, error)
- func (m *MockStateInfo) StateHashAtHeight(height uint64) (*proto.StateHash, error)
- func (m *MockStateInfo) TopBlock() *proto.Block
- func (m *MockStateInfo) TransactionByID(id []byte) (proto.Transaction, error)
- func (m *MockStateInfo) TransactionByIDWithStatus(id []byte) (proto.Transaction, bool, error)
- func (m *MockStateInfo) TransactionHeightByID(id []byte) (uint64, error)
- func (m *MockStateInfo) VotesNum(featureID int16) (uint64, error)
- func (m *MockStateInfo) VotesNumAtHeight(featureID int16, height proto.Height) (uint64, error)
- func (m *MockStateInfo) WavesAddressesNumber() (uint64, error)
- func (m *MockStateInfo) WavesBalance(account proto.Recipient) (uint64, error)
- type MockStateInfoMockRecorder
- func (mr *MockStateInfoMockRecorder) ActivationHeight(featureID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) AddrByAlias(alias interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) AliasesByAddr(addr interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) AllFeatures() *gomock.Call
- func (mr *MockStateInfoMockRecorder) ApprovalHeight(featureID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) AssetBalance(account, assetID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) AssetInfo(assetID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) AssetIsSponsored(assetID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) Block(blockID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) BlockByHeight(height interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) BlockIDToHeight(blockID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) BlockchainSettings() *gomock.Call
- func (mr *MockStateInfoMockRecorder) CurrentScore() *gomock.Call
- func (mr *MockStateInfoMockRecorder) EffectiveBalance(account, startHeight, endHeight interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) EnrichedFullAssetInfo(assetID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) EstimatorVersion() *gomock.Call
- func (mr *MockStateInfoMockRecorder) FullAssetInfo(assetID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) FullWavesBalance(account interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) Header(blockID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) HeaderByHeight(height interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) Height() *gomock.Call
- func (mr *MockStateInfoMockRecorder) HeightToBlockID(height interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) HitSourceAtHeight(height interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) InvokeResultByID(invokeID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) IsActivated(featureID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) IsActiveAtHeight(featureID, height interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) IsActiveLeasing(leaseID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) IsApproved(featureID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) IsApprovedAtHeight(featureID, height interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) IsAssetExist(assetID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) MapR(arg0 interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) NFTList(account, limit, afterAssetID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) NewAddrTransactionsIterator(addr interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) NewestScriptByAccount(account interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) NewestScriptBytesByAccount(account interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) ProvidesExtendedApi() *gomock.Call
- func (mr *MockStateInfoMockRecorder) ProvidesStateHashes() *gomock.Call
- func (mr *MockStateInfoMockRecorder) RetrieveBinaryEntry(account, key interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) RetrieveBooleanEntry(account, key interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) RetrieveEntries(account interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) RetrieveEntry(account, key interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) RetrieveIntegerEntry(account, key interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) RetrieveStringEntry(account, key interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) ScoreAtHeight(height interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) ScriptBasicInfoByAccount(account interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) ScriptInfoByAccount(account interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) ScriptInfoByAsset(assetID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) ShouldPersistAddressTransactions() *gomock.Call
- func (mr *MockStateInfoMockRecorder) StateHashAtHeight(height interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) TopBlock() *gomock.Call
- func (mr *MockStateInfoMockRecorder) TransactionByID(id interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) TransactionByIDWithStatus(id interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) TransactionHeightByID(id interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) VotesNum(featureID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) VotesNumAtHeight(featureID, height interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) WavesAddressesNumber() *gomock.Call
- func (mr *MockStateInfoMockRecorder) WavesBalance(account interface{}) *gomock.Call
- type MockStateMockRecorder
- func (mr *MockStateMockRecorder) ActivationHeight(featureID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddBlock(block interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddDeserializedBlock(block interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddDeserializedBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddrByAlias(alias interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AliasesByAddr(addr interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AllFeatures() *gomock.Call
- func (mr *MockStateMockRecorder) ApprovalHeight(featureID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AssetBalance(account, assetID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AssetInfo(assetID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AssetIsSponsored(assetID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) Block(blockID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) BlockByHeight(height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) BlockIDToHeight(blockID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) BlockchainSettings() *gomock.Call
- func (mr *MockStateMockRecorder) Close() *gomock.Call
- func (mr *MockStateMockRecorder) CurrentScore() *gomock.Call
- func (mr *MockStateMockRecorder) EffectiveBalance(account, startHeight, endHeight interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) EnrichedFullAssetInfo(assetID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) EstimatorVersion() *gomock.Call
- func (mr *MockStateMockRecorder) FullAssetInfo(assetID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) FullWavesBalance(account interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) Header(blockID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) HeaderByHeight(height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) Height() *gomock.Call
- func (mr *MockStateMockRecorder) HeightToBlockID(height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) HitSourceAtHeight(height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) InvokeResultByID(invokeID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) IsActivated(featureID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) IsActiveAtHeight(featureID, height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) IsActiveLeasing(leaseID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) IsApproved(featureID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) IsApprovedAtHeight(featureID, height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) IsAssetExist(assetID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) Map(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) MapR(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) NFTList(account, limit, afterAssetID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) NewAddrTransactionsIterator(addr interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) NewestScriptByAccount(account interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) NewestScriptBytesByAccount(account interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) PersistAddressTransactions() *gomock.Call
- func (mr *MockStateMockRecorder) ProvidesExtendedApi() *gomock.Call
- func (mr *MockStateMockRecorder) ProvidesStateHashes() *gomock.Call
- func (mr *MockStateMockRecorder) ResetValidationList() *gomock.Call
- func (mr *MockStateMockRecorder) RetrieveBinaryEntry(account, key interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) RetrieveBooleanEntry(account, key interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) RetrieveEntries(account interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) RetrieveEntry(account, key interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) RetrieveIntegerEntry(account, key interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) RetrieveStringEntry(account, key interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) RollbackTo(removalEdge interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) RollbackToHeight(height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ScoreAtHeight(height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ScriptBasicInfoByAccount(account interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ScriptInfoByAccount(account interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ScriptInfoByAsset(assetID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ShouldPersistAddressTransactions() *gomock.Call
- func (mr *MockStateMockRecorder) StartProvidingExtendedApi() *gomock.Call
- func (mr *MockStateMockRecorder) StateHashAtHeight(height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) TopBlock() *gomock.Call
- func (mr *MockStateMockRecorder) TransactionByID(id interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) TransactionByIDWithStatus(id interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) TransactionHeightByID(id interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) TxValidation(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ValidateNextTx(tx, currentTimestamp, parentTimestamp, blockVersion, acceptFailed interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) VotesNum(featureID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) VotesNumAtHeight(featureID, height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) WavesAddressesNumber() *gomock.Call
- func (mr *MockStateMockRecorder) WavesBalance(account interface{}) *gomock.Call
- type MockStateModifier
- func (m *MockStateModifier) AddBlock(block []byte) (*proto.Block, error)
- func (m *MockStateModifier) AddBlocks(blocks [][]byte) error
- func (m *MockStateModifier) AddDeserializedBlock(block *proto.Block) (*proto.Block, error)
- func (m *MockStateModifier) AddDeserializedBlocks(blocks []*proto.Block) (*proto.Block, error)
- func (m *MockStateModifier) Close() error
- func (m *MockStateModifier) EXPECT() *MockStateModifierMockRecorder
- func (m *MockStateModifier) Map(arg0 func(state.NonThreadSafeState) error) error
- func (m *MockStateModifier) PersistAddressTransactions() error
- func (m *MockStateModifier) ResetValidationList()
- func (m *MockStateModifier) RollbackTo(removalEdge proto.BlockID) error
- func (m *MockStateModifier) RollbackToHeight(height proto.Height) error
- func (m *MockStateModifier) StartProvidingExtendedApi() error
- func (m *MockStateModifier) TxValidation(arg0 func(state.TxValidation) error) error
- func (m *MockStateModifier) ValidateNextTx(tx proto.Transaction, currentTimestamp, parentTimestamp uint64, ...) error
- type MockStateModifierMockRecorder
- func (mr *MockStateModifierMockRecorder) AddBlock(block interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) AddBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) AddDeserializedBlock(block interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) AddDeserializedBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) Close() *gomock.Call
- func (mr *MockStateModifierMockRecorder) Map(arg0 interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) PersistAddressTransactions() *gomock.Call
- func (mr *MockStateModifierMockRecorder) ResetValidationList() *gomock.Call
- func (mr *MockStateModifierMockRecorder) RollbackTo(removalEdge interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) RollbackToHeight(height interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) StartProvidingExtendedApi() *gomock.Call
- func (mr *MockStateModifierMockRecorder) TxValidation(arg0 interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) ValidateNextTx(tx, currentTimestamp, parentTimestamp, blockVersion, acceptFailed interface{}) *gomock.Call
- type MockTransactionIterator
- type MockTransactionIteratorMockRecorder
- type MockTxValidation
- type MockTxValidationMockRecorder
- type NoOpPeer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGrpcHandlers ¶ added in v0.8.0
type MockGrpcHandlers struct {
// contains filtered or unexported fields
}
MockGrpcHandlers is a mock of GrpcHandlers interface.
func NewMockGrpcHandlers ¶ added in v0.8.0
func NewMockGrpcHandlers(ctrl *gomock.Controller) *MockGrpcHandlers
NewMockGrpcHandlers creates a new mock instance.
func (*MockGrpcHandlers) Broadcast ¶ added in v0.8.0
func (m *MockGrpcHandlers) Broadcast(arg0 context.Context, arg1 *waves.SignedTransaction) (*waves.SignedTransaction, error)
Broadcast mocks base method.
func (*MockGrpcHandlers) EXPECT ¶ added in v0.8.0
func (m *MockGrpcHandlers) EXPECT() *MockGrpcHandlersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGrpcHandlers) GetActivationStatus ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetActivationStatus(arg0 context.Context, arg1 *grpc.ActivationStatusRequest) (*grpc.ActivationStatusResponse, error)
GetActivationStatus mocks base method.
func (*MockGrpcHandlers) GetActiveLeases ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetActiveLeases(arg0 *grpc.AccountRequest, arg1 grpc.AccountsApi_GetActiveLeasesServer) error
GetActiveLeases mocks base method.
func (*MockGrpcHandlers) GetBalances ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetBalances(arg0 *grpc.BalancesRequest, arg1 grpc.AccountsApi_GetBalancesServer) error
GetBalances mocks base method.
func (*MockGrpcHandlers) GetBaseTarget ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetBaseTarget(arg0 context.Context, arg1 *emptypb.Empty) (*grpc.BaseTargetResponse, error)
GetBaseTarget mocks base method.
func (*MockGrpcHandlers) GetBlock ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetBlock(arg0 context.Context, arg1 *grpc.BlockRequest) (*grpc.BlockWithHeight, error)
GetBlock mocks base method.
func (*MockGrpcHandlers) GetBlockRange ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetBlockRange(arg0 *grpc.BlockRangeRequest, arg1 grpc.BlocksApi_GetBlockRangeServer) error
GetBlockRange mocks base method.
func (*MockGrpcHandlers) GetCumulativeScore ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetCumulativeScore(arg0 context.Context, arg1 *emptypb.Empty) (*grpc.ScoreResponse, error)
GetCumulativeScore mocks base method.
func (*MockGrpcHandlers) GetCurrentHeight ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetCurrentHeight(arg0 context.Context, arg1 *emptypb.Empty) (*wrapperspb.UInt32Value, error)
GetCurrentHeight mocks base method.
func (*MockGrpcHandlers) GetDataEntries ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetDataEntries(arg0 *grpc.DataRequest, arg1 grpc.AccountsApi_GetDataEntriesServer) error
GetDataEntries mocks base method.
func (*MockGrpcHandlers) GetInfo ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetInfo(arg0 context.Context, arg1 *grpc.AssetRequest) (*grpc.AssetInfoResponse, error)
GetInfo mocks base method.
func (*MockGrpcHandlers) GetNFTList ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetNFTList(arg0 *grpc.NFTRequest, arg1 grpc.AssetsApi_GetNFTListServer) error
GetNFTList mocks base method.
func (*MockGrpcHandlers) GetScript ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetScript(arg0 context.Context, arg1 *grpc.AccountRequest) (*grpc.ScriptData, error)
GetScript mocks base method.
func (*MockGrpcHandlers) GetStateChanges ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetStateChanges(arg0 *grpc.TransactionsRequest, arg1 grpc.TransactionsApi_GetStateChangesServer) error
GetStateChanges mocks base method.
func (*MockGrpcHandlers) GetStatuses ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetStatuses(arg0 *grpc.TransactionsByIdRequest, arg1 grpc.TransactionsApi_GetStatusesServer) error
GetStatuses mocks base method.
func (*MockGrpcHandlers) GetTransactions ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetTransactions(arg0 *grpc.TransactionsRequest, arg1 grpc.TransactionsApi_GetTransactionsServer) error
GetTransactions mocks base method.
func (*MockGrpcHandlers) GetUnconfirmed ¶ added in v0.8.0
func (m *MockGrpcHandlers) GetUnconfirmed(arg0 *grpc.TransactionsRequest, arg1 grpc.TransactionsApi_GetUnconfirmedServer) error
GetUnconfirmed mocks base method.
func (*MockGrpcHandlers) ResolveAlias ¶ added in v0.8.0
func (m *MockGrpcHandlers) ResolveAlias(arg0 context.Context, arg1 *wrapperspb.StringValue) (*wrapperspb.BytesValue, error)
ResolveAlias mocks base method.
func (*MockGrpcHandlers) Sign ¶ added in v0.8.0
func (m *MockGrpcHandlers) Sign(arg0 context.Context, arg1 *grpc.SignRequest) (*waves.SignedTransaction, error)
Sign mocks base method.
type MockGrpcHandlersMockRecorder ¶ added in v0.8.0
type MockGrpcHandlersMockRecorder struct {
// contains filtered or unexported fields
}
MockGrpcHandlersMockRecorder is the mock recorder for MockGrpcHandlers.
func (*MockGrpcHandlersMockRecorder) Broadcast ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) Broadcast(arg0, arg1 interface{}) *gomock.Call
Broadcast indicates an expected call of Broadcast.
func (*MockGrpcHandlersMockRecorder) GetActivationStatus ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetActivationStatus(arg0, arg1 interface{}) *gomock.Call
GetActivationStatus indicates an expected call of GetActivationStatus.
func (*MockGrpcHandlersMockRecorder) GetActiveLeases ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetActiveLeases(arg0, arg1 interface{}) *gomock.Call
GetActiveLeases indicates an expected call of GetActiveLeases.
func (*MockGrpcHandlersMockRecorder) GetBalances ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetBalances(arg0, arg1 interface{}) *gomock.Call
GetBalances indicates an expected call of GetBalances.
func (*MockGrpcHandlersMockRecorder) GetBaseTarget ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetBaseTarget(arg0, arg1 interface{}) *gomock.Call
GetBaseTarget indicates an expected call of GetBaseTarget.
func (*MockGrpcHandlersMockRecorder) GetBlock ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetBlock(arg0, arg1 interface{}) *gomock.Call
GetBlock indicates an expected call of GetBlock.
func (*MockGrpcHandlersMockRecorder) GetBlockRange ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetBlockRange(arg0, arg1 interface{}) *gomock.Call
GetBlockRange indicates an expected call of GetBlockRange.
func (*MockGrpcHandlersMockRecorder) GetCumulativeScore ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetCumulativeScore(arg0, arg1 interface{}) *gomock.Call
GetCumulativeScore indicates an expected call of GetCumulativeScore.
func (*MockGrpcHandlersMockRecorder) GetCurrentHeight ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetCurrentHeight(arg0, arg1 interface{}) *gomock.Call
GetCurrentHeight indicates an expected call of GetCurrentHeight.
func (*MockGrpcHandlersMockRecorder) GetDataEntries ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetDataEntries(arg0, arg1 interface{}) *gomock.Call
GetDataEntries indicates an expected call of GetDataEntries.
func (*MockGrpcHandlersMockRecorder) GetInfo ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetInfo(arg0, arg1 interface{}) *gomock.Call
GetInfo indicates an expected call of GetInfo.
func (*MockGrpcHandlersMockRecorder) GetNFTList ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetNFTList(arg0, arg1 interface{}) *gomock.Call
GetNFTList indicates an expected call of GetNFTList.
func (*MockGrpcHandlersMockRecorder) GetScript ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetScript(arg0, arg1 interface{}) *gomock.Call
GetScript indicates an expected call of GetScript.
func (*MockGrpcHandlersMockRecorder) GetStateChanges ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetStateChanges(arg0, arg1 interface{}) *gomock.Call
GetStateChanges indicates an expected call of GetStateChanges.
func (*MockGrpcHandlersMockRecorder) GetStatuses ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetStatuses(arg0, arg1 interface{}) *gomock.Call
GetStatuses indicates an expected call of GetStatuses.
func (*MockGrpcHandlersMockRecorder) GetTransactions ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetTransactions(arg0, arg1 interface{}) *gomock.Call
GetTransactions indicates an expected call of GetTransactions.
func (*MockGrpcHandlersMockRecorder) GetUnconfirmed ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) GetUnconfirmed(arg0, arg1 interface{}) *gomock.Call
GetUnconfirmed indicates an expected call of GetUnconfirmed.
func (*MockGrpcHandlersMockRecorder) ResolveAlias ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) ResolveAlias(arg0, arg1 interface{}) *gomock.Call
ResolveAlias indicates an expected call of ResolveAlias.
func (*MockGrpcHandlersMockRecorder) Sign ¶ added in v0.8.0
func (mr *MockGrpcHandlersMockRecorder) Sign(arg0, arg1 interface{}) *gomock.Call
Sign indicates an expected call of Sign.
type MockPeer ¶
type MockPeer struct {
// contains filtered or unexported fields
}
MockPeer is a mock of Peer interface.
func NewMockPeer ¶
func NewMockPeer(ctrl *gomock.Controller) *MockPeer
NewMockPeer creates a new mock instance.
func (*MockPeer) Connection ¶
func (m *MockPeer) Connection() conn.Connection
Connection mocks base method.
func (*MockPeer) EXPECT ¶
func (m *MockPeer) EXPECT() *MockPeerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPeer) RemoteAddr ¶
RemoteAddr mocks base method.
func (*MockPeer) SendMessage ¶
SendMessage mocks base method.
type MockPeerManager ¶
type MockPeerManager struct {
// contains filtered or unexported fields
}
MockPeerManager is a mock of PeerManager interface.
func NewMockPeerManager ¶
func NewMockPeerManager(ctrl *gomock.Controller) *MockPeerManager
NewMockPeerManager creates a new mock instance.
func (*MockPeerManager) AddToBlackList ¶ added in v0.10.2
AddToBlackList mocks base method.
func (*MockPeerManager) BlackList ¶ added in v0.10.2
func (m *MockPeerManager) BlackList() []storage.BlackListedPeer
BlackList mocks base method.
func (*MockPeerManager) ClearBlackList ¶ added in v0.10.2
func (m *MockPeerManager) ClearBlackList() error
ClearBlackList mocks base method.
func (*MockPeerManager) ConnectedCount ¶
func (m *MockPeerManager) ConnectedCount() int
ConnectedCount mocks base method.
func (*MockPeerManager) Disconnect ¶
func (m *MockPeerManager) Disconnect(arg0 peer.Peer)
Disconnect mocks base method.
func (*MockPeerManager) EXPECT ¶
func (m *MockPeerManager) EXPECT() *MockPeerManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPeerManager) EachConnected ¶
func (m *MockPeerManager) EachConnected(arg0 func(peer.Peer, *proto.Score))
EachConnected mocks base method.
func (*MockPeerManager) GetPeerWithMaxScore ¶ added in v0.10.0
func (m *MockPeerManager) GetPeerWithMaxScore() (peer.Peer, error)
GetPeerWithMaxScore mocks base method.
func (*MockPeerManager) KnownPeers ¶
func (m *MockPeerManager) KnownPeers() []storage.KnownPeer
KnownPeers mocks base method.
func (*MockPeerManager) NewConnection ¶
func (m *MockPeerManager) NewConnection(arg0 peer.Peer) error
NewConnection mocks base method.
func (*MockPeerManager) SpawnIncomingConnection ¶
SpawnIncomingConnection mocks base method.
func (*MockPeerManager) SpawnOutgoingConnections ¶
func (m *MockPeerManager) SpawnOutgoingConnections(arg0 context.Context)
SpawnOutgoingConnections mocks base method.
func (*MockPeerManager) Spawned ¶
func (m *MockPeerManager) Spawned() []proto.IpPort
Spawned mocks base method.
func (*MockPeerManager) Suspended ¶
func (m *MockPeerManager) Suspended() []storage.SuspendedPeer
Suspended mocks base method.
func (*MockPeerManager) UpdateKnownPeers ¶
func (m *MockPeerManager) UpdateKnownPeers(arg0 []storage.KnownPeer) error
UpdateKnownPeers mocks base method.
func (*MockPeerManager) UpdateScore ¶
UpdateScore mocks base method.
type MockPeerManagerMockRecorder ¶
type MockPeerManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockPeerManagerMockRecorder is the mock recorder for MockPeerManager.
func (*MockPeerManagerMockRecorder) AddToBlackList ¶ added in v0.10.2
func (mr *MockPeerManagerMockRecorder) AddToBlackList(peer, blockTime, reason interface{}) *gomock.Call
AddToBlackList indicates an expected call of AddToBlackList.
func (*MockPeerManagerMockRecorder) AskPeers ¶
func (mr *MockPeerManagerMockRecorder) AskPeers() *gomock.Call
AskPeers indicates an expected call of AskPeers.
func (*MockPeerManagerMockRecorder) BlackList ¶ added in v0.10.2
func (mr *MockPeerManagerMockRecorder) BlackList() *gomock.Call
BlackList indicates an expected call of BlackList.
func (*MockPeerManagerMockRecorder) ClearBlackList ¶ added in v0.10.2
func (mr *MockPeerManagerMockRecorder) ClearBlackList() *gomock.Call
ClearBlackList indicates an expected call of ClearBlackList.
func (*MockPeerManagerMockRecorder) Close ¶
func (mr *MockPeerManagerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPeerManagerMockRecorder) Connect ¶
func (mr *MockPeerManagerMockRecorder) Connect(arg0, arg1 interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockPeerManagerMockRecorder) ConnectedCount ¶
func (mr *MockPeerManagerMockRecorder) ConnectedCount() *gomock.Call
ConnectedCount indicates an expected call of ConnectedCount.
func (*MockPeerManagerMockRecorder) Disconnect ¶
func (mr *MockPeerManagerMockRecorder) Disconnect(arg0 interface{}) *gomock.Call
Disconnect indicates an expected call of Disconnect.
func (*MockPeerManagerMockRecorder) EachConnected ¶
func (mr *MockPeerManagerMockRecorder) EachConnected(arg0 interface{}) *gomock.Call
EachConnected indicates an expected call of EachConnected.
func (*MockPeerManagerMockRecorder) GetPeerWithMaxScore ¶ added in v0.10.0
func (mr *MockPeerManagerMockRecorder) GetPeerWithMaxScore() *gomock.Call
GetPeerWithMaxScore indicates an expected call of GetPeerWithMaxScore.
func (*MockPeerManagerMockRecorder) KnownPeers ¶
func (mr *MockPeerManagerMockRecorder) KnownPeers() *gomock.Call
KnownPeers indicates an expected call of KnownPeers.
func (*MockPeerManagerMockRecorder) NewConnection ¶
func (mr *MockPeerManagerMockRecorder) NewConnection(arg0 interface{}) *gomock.Call
NewConnection indicates an expected call of NewConnection.
func (*MockPeerManagerMockRecorder) Score ¶
func (mr *MockPeerManagerMockRecorder) Score(p interface{}) *gomock.Call
Score indicates an expected call of Score.
func (*MockPeerManagerMockRecorder) SpawnIncomingConnection ¶
func (mr *MockPeerManagerMockRecorder) SpawnIncomingConnection(ctx, conn interface{}) *gomock.Call
SpawnIncomingConnection indicates an expected call of SpawnIncomingConnection.
func (*MockPeerManagerMockRecorder) SpawnOutgoingConnections ¶
func (mr *MockPeerManagerMockRecorder) SpawnOutgoingConnections(arg0 interface{}) *gomock.Call
SpawnOutgoingConnections indicates an expected call of SpawnOutgoingConnections.
func (*MockPeerManagerMockRecorder) Spawned ¶
func (mr *MockPeerManagerMockRecorder) Spawned() *gomock.Call
Spawned indicates an expected call of Spawned.
func (*MockPeerManagerMockRecorder) Suspend ¶
func (mr *MockPeerManagerMockRecorder) Suspend(peer, suspendTime, reason interface{}) *gomock.Call
Suspend indicates an expected call of Suspend.
func (*MockPeerManagerMockRecorder) Suspended ¶
func (mr *MockPeerManagerMockRecorder) Suspended() *gomock.Call
Suspended indicates an expected call of Suspended.
func (*MockPeerManagerMockRecorder) UpdateKnownPeers ¶
func (mr *MockPeerManagerMockRecorder) UpdateKnownPeers(arg0 interface{}) *gomock.Call
UpdateKnownPeers indicates an expected call of UpdateKnownPeers.
func (*MockPeerManagerMockRecorder) UpdateScore ¶
func (mr *MockPeerManagerMockRecorder) UpdateScore(p, score interface{}) *gomock.Call
UpdateScore indicates an expected call of UpdateScore.
type MockPeerMockRecorder ¶
type MockPeerMockRecorder struct {
// contains filtered or unexported fields
}
MockPeerMockRecorder is the mock recorder for MockPeer.
func (*MockPeerMockRecorder) Close ¶
func (mr *MockPeerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPeerMockRecorder) Connection ¶
func (mr *MockPeerMockRecorder) Connection() *gomock.Call
Connection indicates an expected call of Connection.
func (*MockPeerMockRecorder) Direction ¶
func (mr *MockPeerMockRecorder) Direction() *gomock.Call
Direction indicates an expected call of Direction.
func (*MockPeerMockRecorder) Handshake ¶
func (mr *MockPeerMockRecorder) Handshake() *gomock.Call
Handshake indicates an expected call of Handshake.
func (*MockPeerMockRecorder) ID ¶
func (mr *MockPeerMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockPeerMockRecorder) RemoteAddr ¶
func (mr *MockPeerMockRecorder) RemoteAddr() *gomock.Call
RemoteAddr indicates an expected call of RemoteAddr.
func (*MockPeerMockRecorder) SendMessage ¶
func (mr *MockPeerMockRecorder) SendMessage(arg0 interface{}) *gomock.Call
SendMessage indicates an expected call of SendMessage.
type MockPeerStorage ¶ added in v0.9.0
type MockPeerStorage struct {
// contains filtered or unexported fields
}
MockPeerStorage is a mock of PeerStorage interface.
func NewMockPeerStorage ¶ added in v0.9.0
func NewMockPeerStorage(ctrl *gomock.Controller) *MockPeerStorage
NewMockPeerStorage creates a new mock instance.
func (*MockPeerStorage) AddOrUpdateKnown ¶ added in v0.10.0
AddOrUpdateKnown mocks base method.
func (*MockPeerStorage) AddSuspended ¶ added in v0.9.0
func (m *MockPeerStorage) AddSuspended(suspended []storage.SuspendedPeer) error
AddSuspended mocks base method.
func (*MockPeerStorage) AddToBlackList ¶ added in v0.10.2
func (m *MockPeerStorage) AddToBlackList(blackListed []storage.BlackListedPeer) error
AddToBlackList mocks base method.
func (*MockPeerStorage) BlackList ¶ added in v0.10.2
func (m *MockPeerStorage) BlackList(now time.Time) []storage.BlackListedPeer
BlackList mocks base method.
func (*MockPeerStorage) DeleteBlackListedByIP ¶ added in v0.10.2
func (m *MockPeerStorage) DeleteBlackListedByIP(blackListed []storage.BlackListedPeer) error
DeleteBlackListedByIP mocks base method.
func (*MockPeerStorage) DeleteKnown ¶ added in v0.9.0
func (m *MockPeerStorage) DeleteKnown(known []storage.KnownPeer) error
DeleteKnown mocks base method.
func (*MockPeerStorage) DeleteSuspendedByIP ¶ added in v0.9.0
func (m *MockPeerStorage) DeleteSuspendedByIP(suspended []storage.SuspendedPeer) error
DeleteSuspendedByIP mocks base method.
func (*MockPeerStorage) DropBlackList ¶ added in v0.10.2
func (m *MockPeerStorage) DropBlackList() error
DropBlackList mocks base method.
func (*MockPeerStorage) DropKnown ¶ added in v0.9.0
func (m *MockPeerStorage) DropKnown() error
DropKnown mocks base method.
func (*MockPeerStorage) DropStorage ¶ added in v0.9.0
func (m *MockPeerStorage) DropStorage() error
DropStorage mocks base method.
func (*MockPeerStorage) DropSuspended ¶ added in v0.9.0
func (m *MockPeerStorage) DropSuspended() error
DropSuspended mocks base method.
func (*MockPeerStorage) EXPECT ¶ added in v0.9.0
func (m *MockPeerStorage) EXPECT() *MockPeerStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPeerStorage) IsBlackListedIP ¶ added in v0.10.2
IsBlackListedIP mocks base method.
func (*MockPeerStorage) IsBlackListedIPs ¶ added in v0.10.2
IsBlackListedIPs mocks base method.
func (*MockPeerStorage) IsSuspendedIP ¶ added in v0.9.0
IsSuspendedIP mocks base method.
func (*MockPeerStorage) IsSuspendedIPs ¶ added in v0.9.0
IsSuspendedIPs mocks base method.
func (*MockPeerStorage) Known ¶ added in v0.9.0
func (m *MockPeerStorage) Known(limit int) []storage.KnownPeer
Known mocks base method.
func (*MockPeerStorage) RefreshBlackList ¶ added in v0.10.2
func (m *MockPeerStorage) RefreshBlackList(now time.Time) error
RefreshBlackList mocks base method.
func (*MockPeerStorage) RefreshSuspended ¶ added in v0.9.0
func (m *MockPeerStorage) RefreshSuspended(now time.Time) error
RefreshSuspended mocks base method.
func (*MockPeerStorage) Suspended ¶ added in v0.9.0
func (m *MockPeerStorage) Suspended(now time.Time) []storage.SuspendedPeer
Suspended mocks base method.
type MockPeerStorageMockRecorder ¶ added in v0.9.0
type MockPeerStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockPeerStorageMockRecorder is the mock recorder for MockPeerStorage.
func (*MockPeerStorageMockRecorder) AddOrUpdateKnown ¶ added in v0.10.0
func (mr *MockPeerStorageMockRecorder) AddOrUpdateKnown(known, now interface{}) *gomock.Call
AddOrUpdateKnown indicates an expected call of AddOrUpdateKnown.
func (*MockPeerStorageMockRecorder) AddSuspended ¶ added in v0.9.0
func (mr *MockPeerStorageMockRecorder) AddSuspended(suspended interface{}) *gomock.Call
AddSuspended indicates an expected call of AddSuspended.
func (*MockPeerStorageMockRecorder) AddToBlackList ¶ added in v0.10.2
func (mr *MockPeerStorageMockRecorder) AddToBlackList(blackListed interface{}) *gomock.Call
AddToBlackList indicates an expected call of AddToBlackList.
func (*MockPeerStorageMockRecorder) BlackList ¶ added in v0.10.2
func (mr *MockPeerStorageMockRecorder) BlackList(now interface{}) *gomock.Call
BlackList indicates an expected call of BlackList.
func (*MockPeerStorageMockRecorder) DeleteBlackListedByIP ¶ added in v0.10.2
func (mr *MockPeerStorageMockRecorder) DeleteBlackListedByIP(blackListed interface{}) *gomock.Call
DeleteBlackListedByIP indicates an expected call of DeleteBlackListedByIP.
func (*MockPeerStorageMockRecorder) DeleteKnown ¶ added in v0.9.0
func (mr *MockPeerStorageMockRecorder) DeleteKnown(known interface{}) *gomock.Call
DeleteKnown indicates an expected call of DeleteKnown.
func (*MockPeerStorageMockRecorder) DeleteSuspendedByIP ¶ added in v0.9.0
func (mr *MockPeerStorageMockRecorder) DeleteSuspendedByIP(suspended interface{}) *gomock.Call
DeleteSuspendedByIP indicates an expected call of DeleteSuspendedByIP.
func (*MockPeerStorageMockRecorder) DropBlackList ¶ added in v0.10.2
func (mr *MockPeerStorageMockRecorder) DropBlackList() *gomock.Call
DropBlackList indicates an expected call of DropBlackList.
func (*MockPeerStorageMockRecorder) DropKnown ¶ added in v0.9.0
func (mr *MockPeerStorageMockRecorder) DropKnown() *gomock.Call
DropKnown indicates an expected call of DropKnown.
func (*MockPeerStorageMockRecorder) DropStorage ¶ added in v0.9.0
func (mr *MockPeerStorageMockRecorder) DropStorage() *gomock.Call
DropStorage indicates an expected call of DropStorage.
func (*MockPeerStorageMockRecorder) DropSuspended ¶ added in v0.9.0
func (mr *MockPeerStorageMockRecorder) DropSuspended() *gomock.Call
DropSuspended indicates an expected call of DropSuspended.
func (*MockPeerStorageMockRecorder) IsBlackListedIP ¶ added in v0.10.2
func (mr *MockPeerStorageMockRecorder) IsBlackListedIP(ip, now interface{}) *gomock.Call
IsBlackListedIP indicates an expected call of IsBlackListedIP.
func (*MockPeerStorageMockRecorder) IsBlackListedIPs ¶ added in v0.10.2
func (mr *MockPeerStorageMockRecorder) IsBlackListedIPs(ips, now interface{}) *gomock.Call
IsBlackListedIPs indicates an expected call of IsBlackListedIPs.
func (*MockPeerStorageMockRecorder) IsSuspendedIP ¶ added in v0.9.0
func (mr *MockPeerStorageMockRecorder) IsSuspendedIP(ip, now interface{}) *gomock.Call
IsSuspendedIP indicates an expected call of IsSuspendedIP.
func (*MockPeerStorageMockRecorder) IsSuspendedIPs ¶ added in v0.9.0
func (mr *MockPeerStorageMockRecorder) IsSuspendedIPs(ips, now interface{}) *gomock.Call
IsSuspendedIPs indicates an expected call of IsSuspendedIPs.
func (*MockPeerStorageMockRecorder) Known ¶ added in v0.9.0
func (mr *MockPeerStorageMockRecorder) Known(limit interface{}) *gomock.Call
Known indicates an expected call of Known.
func (*MockPeerStorageMockRecorder) RefreshBlackList ¶ added in v0.10.2
func (mr *MockPeerStorageMockRecorder) RefreshBlackList(now interface{}) *gomock.Call
RefreshBlackList indicates an expected call of RefreshBlackList.
func (*MockPeerStorageMockRecorder) RefreshSuspended ¶ added in v0.9.0
func (mr *MockPeerStorageMockRecorder) RefreshSuspended(now interface{}) *gomock.Call
RefreshSuspended indicates an expected call of RefreshSuspended.
func (*MockPeerStorageMockRecorder) Suspended ¶ added in v0.9.0
func (mr *MockPeerStorageMockRecorder) Suspended(now interface{}) *gomock.Call
Suspended indicates an expected call of Suspended.
type MockState ¶
type MockState struct {
// contains filtered or unexported fields
}
MockState is a mock of State interface.
func NewMockState ¶
func NewMockState(ctrl *gomock.Controller) *MockState
NewMockState creates a new mock instance.
func (*MockState) ActivationHeight ¶
ActivationHeight mocks base method.
func (*MockState) AddDeserializedBlock ¶
AddDeserializedBlock mocks base method.
func (*MockState) AddDeserializedBlocks ¶ added in v0.10.0
AddDeserializedBlocks mocks base method.
func (*MockState) AddrByAlias ¶
AddrByAlias mocks base method.
func (*MockState) AliasesByAddr ¶ added in v0.10.5
func (m *MockState) AliasesByAddr(addr proto.WavesAddress) ([]string, error)
AliasesByAddr mocks base method.
func (*MockState) AllFeatures ¶
AllFeatures mocks base method.
func (*MockState) ApprovalHeight ¶
ApprovalHeight mocks base method.
func (*MockState) AssetBalance ¶ added in v0.10.0
AssetBalance mocks base method.
func (*MockState) AssetIsSponsored ¶
AssetIsSponsored mocks base method.
func (*MockState) BlockByHeight ¶
BlockByHeight mocks base method.
func (*MockState) BlockIDToHeight ¶
BlockIDToHeight mocks base method.
func (*MockState) BlockchainSettings ¶
func (m *MockState) BlockchainSettings() (*settings.BlockchainSettings, error)
BlockchainSettings mocks base method.
func (*MockState) CurrentScore ¶
CurrentScore mocks base method.
func (*MockState) EXPECT ¶
func (m *MockState) EXPECT() *MockStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockState) EffectiveBalance ¶ added in v0.8.0
func (m *MockState) EffectiveBalance(account proto.Recipient, startHeight, endHeight proto.Height) (uint64, error)
EffectiveBalance mocks base method.
func (*MockState) EnrichedFullAssetInfo ¶ added in v0.10.5
func (m *MockState) EnrichedFullAssetInfo(assetID proto.AssetID) (*proto.EnrichedFullAssetInfo, error)
EnrichedFullAssetInfo mocks base method.
func (*MockState) EstimatorVersion ¶ added in v0.8.0
EstimatorVersion mocks base method.
func (*MockState) FullAssetInfo ¶
FullAssetInfo mocks base method.
func (*MockState) FullWavesBalance ¶
FullWavesBalance mocks base method.
func (*MockState) HeaderByHeight ¶
HeaderByHeight mocks base method.
func (*MockState) HeightToBlockID ¶
HeightToBlockID mocks base method.
func (*MockState) HitSourceAtHeight ¶
HitSourceAtHeight mocks base method.
func (*MockState) InvokeResultByID ¶
InvokeResultByID mocks base method.
func (*MockState) IsActivated ¶
IsActivated mocks base method.
func (*MockState) IsActiveAtHeight ¶
IsActiveAtHeight mocks base method.
func (*MockState) IsActiveLeasing ¶
IsActiveLeasing mocks base method.
func (*MockState) IsApproved ¶
IsApproved mocks base method.
func (*MockState) IsApprovedAtHeight ¶
IsApprovedAtHeight mocks base method.
func (*MockState) IsAssetExist ¶ added in v0.10.5
IsAssetExist mocks base method.
func (*MockState) Map ¶ added in v0.6.0
func (m *MockState) Map(arg0 func(state.NonThreadSafeState) error) error
Map mocks base method.
func (*MockState) NFTList ¶ added in v0.8.0
func (m *MockState) NFTList(account proto.Recipient, limit uint64, afterAssetID *proto.AssetID) ([]*proto.FullAssetInfo, error)
NFTList mocks base method.
func (*MockState) NewAddrTransactionsIterator ¶
func (m *MockState) NewAddrTransactionsIterator(addr proto.Address) (state.TransactionIterator, error)
NewAddrTransactionsIterator mocks base method.
func (*MockState) NewestScriptByAccount ¶ added in v0.10.0
NewestScriptByAccount mocks base method.
func (*MockState) NewestScriptBytesByAccount ¶ added in v0.10.0
NewestScriptBytesByAccount mocks base method.
func (*MockState) PersistAddressTransactions ¶ added in v0.7.0
PersistAddressTransactions mocks base method.
func (*MockState) ProvidesExtendedApi ¶
ProvidesExtendedApi mocks base method.
func (*MockState) ProvidesStateHashes ¶ added in v0.6.0
ProvidesStateHashes mocks base method.
func (*MockState) ResetValidationList ¶
func (m *MockState) ResetValidationList()
ResetValidationList mocks base method.
func (*MockState) RetrieveBinaryEntry ¶
func (m *MockState) RetrieveBinaryEntry(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)
RetrieveBinaryEntry mocks base method.
func (*MockState) RetrieveBooleanEntry ¶
func (m *MockState) RetrieveBooleanEntry(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)
RetrieveBooleanEntry mocks base method.
func (*MockState) RetrieveEntries ¶
RetrieveEntries mocks base method.
func (*MockState) RetrieveEntry ¶
RetrieveEntry mocks base method.
func (*MockState) RetrieveIntegerEntry ¶
func (m *MockState) RetrieveIntegerEntry(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)
RetrieveIntegerEntry mocks base method.
func (*MockState) RetrieveStringEntry ¶
func (m *MockState) RetrieveStringEntry(account proto.Recipient, key string) (*proto.StringDataEntry, error)
RetrieveStringEntry mocks base method.
func (*MockState) RollbackTo ¶
RollbackTo mocks base method.
func (*MockState) RollbackToHeight ¶
RollbackToHeight mocks base method.
func (*MockState) ScoreAtHeight ¶
ScoreAtHeight mocks base method.
func (*MockState) ScriptBasicInfoByAccount ¶ added in v0.10.2
func (m *MockState) ScriptBasicInfoByAccount(account proto.Recipient) (*proto.ScriptBasicInfo, error)
ScriptBasicInfoByAccount mocks base method.
func (*MockState) ScriptInfoByAccount ¶
ScriptInfoByAccount mocks base method.
func (*MockState) ScriptInfoByAsset ¶
ScriptInfoByAsset mocks base method.
func (*MockState) ShouldPersistAddressTransactions ¶ added in v0.7.0
ShouldPersistAddressTransactions mocks base method.
func (*MockState) StartProvidingExtendedApi ¶
StartProvidingExtendedApi mocks base method.
func (*MockState) StateHashAtHeight ¶ added in v0.6.0
StateHashAtHeight mocks base method.
func (*MockState) TransactionByID ¶
func (m *MockState) TransactionByID(id []byte) (proto.Transaction, error)
TransactionByID mocks base method.
func (*MockState) TransactionByIDWithStatus ¶ added in v0.7.0
TransactionByIDWithStatus mocks base method.
func (*MockState) TransactionHeightByID ¶
TransactionHeightByID mocks base method.
func (*MockState) TxValidation ¶ added in v0.6.0
func (m *MockState) TxValidation(arg0 func(state.TxValidation) error) error
TxValidation mocks base method.
func (*MockState) ValidateNextTx ¶
func (m *MockState) ValidateNextTx(tx proto.Transaction, currentTimestamp, parentTimestamp uint64, blockVersion proto.BlockVersion, acceptFailed bool) error
ValidateNextTx mocks base method.
func (*MockState) VotesNumAtHeight ¶
VotesNumAtHeight mocks base method.
func (*MockState) WavesAddressesNumber ¶
WavesAddressesNumber mocks base method.
type MockStateInfo ¶
type MockStateInfo struct {
// contains filtered or unexported fields
}
MockStateInfo is a mock of StateInfo interface.
func NewMockStateInfo ¶
func NewMockStateInfo(ctrl *gomock.Controller) *MockStateInfo
NewMockStateInfo creates a new mock instance.
func (*MockStateInfo) ActivationHeight ¶
func (m *MockStateInfo) ActivationHeight(featureID int16) (proto.Height, error)
ActivationHeight mocks base method.
func (*MockStateInfo) AddrByAlias ¶
func (m *MockStateInfo) AddrByAlias(alias proto.Alias) (proto.WavesAddress, error)
AddrByAlias mocks base method.
func (*MockStateInfo) AliasesByAddr ¶ added in v0.10.5
func (m *MockStateInfo) AliasesByAddr(addr proto.WavesAddress) ([]string, error)
AliasesByAddr mocks base method.
func (*MockStateInfo) AllFeatures ¶
func (m *MockStateInfo) AllFeatures() ([]int16, error)
AllFeatures mocks base method.
func (*MockStateInfo) ApprovalHeight ¶
func (m *MockStateInfo) ApprovalHeight(featureID int16) (proto.Height, error)
ApprovalHeight mocks base method.
func (*MockStateInfo) AssetBalance ¶ added in v0.10.0
func (m *MockStateInfo) AssetBalance(account proto.Recipient, assetID proto.AssetID) (uint64, error)
AssetBalance mocks base method.
func (*MockStateInfo) AssetIsSponsored ¶
func (m *MockStateInfo) AssetIsSponsored(assetID proto.AssetID) (bool, error)
AssetIsSponsored mocks base method.
func (*MockStateInfo) BlockByHeight ¶
BlockByHeight mocks base method.
func (*MockStateInfo) BlockIDToHeight ¶
BlockIDToHeight mocks base method.
func (*MockStateInfo) BlockchainSettings ¶
func (m *MockStateInfo) BlockchainSettings() (*settings.BlockchainSettings, error)
BlockchainSettings mocks base method.
func (*MockStateInfo) CurrentScore ¶
func (m *MockStateInfo) CurrentScore() (*big.Int, error)
CurrentScore mocks base method.
func (*MockStateInfo) EXPECT ¶
func (m *MockStateInfo) EXPECT() *MockStateInfoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStateInfo) EffectiveBalance ¶ added in v0.8.0
func (m *MockStateInfo) EffectiveBalance(account proto.Recipient, startHeight, endHeight proto.Height) (uint64, error)
EffectiveBalance mocks base method.
func (*MockStateInfo) EnrichedFullAssetInfo ¶ added in v0.10.5
func (m *MockStateInfo) EnrichedFullAssetInfo(assetID proto.AssetID) (*proto.EnrichedFullAssetInfo, error)
EnrichedFullAssetInfo mocks base method.
func (*MockStateInfo) EstimatorVersion ¶ added in v0.8.0
func (m *MockStateInfo) EstimatorVersion() (int, error)
EstimatorVersion mocks base method.
func (*MockStateInfo) FullAssetInfo ¶
func (m *MockStateInfo) FullAssetInfo(assetID proto.AssetID) (*proto.FullAssetInfo, error)
FullAssetInfo mocks base method.
func (*MockStateInfo) FullWavesBalance ¶
func (m *MockStateInfo) FullWavesBalance(account proto.Recipient) (*proto.FullWavesBalance, error)
FullWavesBalance mocks base method.
func (*MockStateInfo) Header ¶
func (m *MockStateInfo) Header(blockID proto.BlockID) (*proto.BlockHeader, error)
Header mocks base method.
func (*MockStateInfo) HeaderByHeight ¶
func (m *MockStateInfo) HeaderByHeight(height proto.Height) (*proto.BlockHeader, error)
HeaderByHeight mocks base method.
func (*MockStateInfo) Height ¶
func (m *MockStateInfo) Height() (proto.Height, error)
Height mocks base method.
func (*MockStateInfo) HeightToBlockID ¶
HeightToBlockID mocks base method.
func (*MockStateInfo) HitSourceAtHeight ¶
func (m *MockStateInfo) HitSourceAtHeight(height proto.Height) ([]byte, error)
HitSourceAtHeight mocks base method.
func (*MockStateInfo) InvokeResultByID ¶
func (m *MockStateInfo) InvokeResultByID(invokeID crypto.Digest) (*proto.ScriptResult, error)
InvokeResultByID mocks base method.
func (*MockStateInfo) IsActivated ¶
func (m *MockStateInfo) IsActivated(featureID int16) (bool, error)
IsActivated mocks base method.
func (*MockStateInfo) IsActiveAtHeight ¶
IsActiveAtHeight mocks base method.
func (*MockStateInfo) IsActiveLeasing ¶
func (m *MockStateInfo) IsActiveLeasing(leaseID crypto.Digest) (bool, error)
IsActiveLeasing mocks base method.
func (*MockStateInfo) IsApproved ¶
func (m *MockStateInfo) IsApproved(featureID int16) (bool, error)
IsApproved mocks base method.
func (*MockStateInfo) IsApprovedAtHeight ¶
IsApprovedAtHeight mocks base method.
func (*MockStateInfo) IsAssetExist ¶ added in v0.10.5
func (m *MockStateInfo) IsAssetExist(assetID proto.AssetID) (bool, error)
IsAssetExist mocks base method.
func (*MockStateInfo) MapR ¶ added in v0.6.0
func (m *MockStateInfo) MapR(arg0 func(state.StateInfo) (interface{}, error)) (interface{}, error)
MapR mocks base method.
func (*MockStateInfo) NFTList ¶ added in v0.8.0
func (m *MockStateInfo) NFTList(account proto.Recipient, limit uint64, afterAssetID *proto.AssetID) ([]*proto.FullAssetInfo, error)
NFTList mocks base method.
func (*MockStateInfo) NewAddrTransactionsIterator ¶
func (m *MockStateInfo) NewAddrTransactionsIterator(addr proto.Address) (state.TransactionIterator, error)
NewAddrTransactionsIterator mocks base method.
func (*MockStateInfo) NewestScriptByAccount ¶ added in v0.10.0
NewestScriptByAccount mocks base method.
func (*MockStateInfo) NewestScriptBytesByAccount ¶ added in v0.10.0
NewestScriptBytesByAccount mocks base method.
func (*MockStateInfo) ProvidesExtendedApi ¶
func (m *MockStateInfo) ProvidesExtendedApi() (bool, error)
ProvidesExtendedApi mocks base method.
func (*MockStateInfo) ProvidesStateHashes ¶ added in v0.6.0
func (m *MockStateInfo) ProvidesStateHashes() (bool, error)
ProvidesStateHashes mocks base method.
func (*MockStateInfo) RetrieveBinaryEntry ¶
func (m *MockStateInfo) RetrieveBinaryEntry(account proto.Recipient, key string) (*proto.BinaryDataEntry, error)
RetrieveBinaryEntry mocks base method.
func (*MockStateInfo) RetrieveBooleanEntry ¶
func (m *MockStateInfo) RetrieveBooleanEntry(account proto.Recipient, key string) (*proto.BooleanDataEntry, error)
RetrieveBooleanEntry mocks base method.
func (*MockStateInfo) RetrieveEntries ¶
RetrieveEntries mocks base method.
func (*MockStateInfo) RetrieveEntry ¶
RetrieveEntry mocks base method.
func (*MockStateInfo) RetrieveIntegerEntry ¶
func (m *MockStateInfo) RetrieveIntegerEntry(account proto.Recipient, key string) (*proto.IntegerDataEntry, error)
RetrieveIntegerEntry mocks base method.
func (*MockStateInfo) RetrieveStringEntry ¶
func (m *MockStateInfo) RetrieveStringEntry(account proto.Recipient, key string) (*proto.StringDataEntry, error)
RetrieveStringEntry mocks base method.
func (*MockStateInfo) ScoreAtHeight ¶
ScoreAtHeight mocks base method.
func (*MockStateInfo) ScriptBasicInfoByAccount ¶ added in v0.10.2
func (m *MockStateInfo) ScriptBasicInfoByAccount(account proto.Recipient) (*proto.ScriptBasicInfo, error)
ScriptBasicInfoByAccount mocks base method.
func (*MockStateInfo) ScriptInfoByAccount ¶
func (m *MockStateInfo) ScriptInfoByAccount(account proto.Recipient) (*proto.ScriptInfo, error)
ScriptInfoByAccount mocks base method.
func (*MockStateInfo) ScriptInfoByAsset ¶
func (m *MockStateInfo) ScriptInfoByAsset(assetID proto.AssetID) (*proto.ScriptInfo, error)
ScriptInfoByAsset mocks base method.
func (*MockStateInfo) ShouldPersistAddressTransactions ¶ added in v0.7.0
func (m *MockStateInfo) ShouldPersistAddressTransactions() (bool, error)
ShouldPersistAddressTransactions mocks base method.
func (*MockStateInfo) StateHashAtHeight ¶ added in v0.6.0
func (m *MockStateInfo) StateHashAtHeight(height uint64) (*proto.StateHash, error)
StateHashAtHeight mocks base method.
func (*MockStateInfo) TopBlock ¶
func (m *MockStateInfo) TopBlock() *proto.Block
TopBlock mocks base method.
func (*MockStateInfo) TransactionByID ¶
func (m *MockStateInfo) TransactionByID(id []byte) (proto.Transaction, error)
TransactionByID mocks base method.
func (*MockStateInfo) TransactionByIDWithStatus ¶ added in v0.7.0
func (m *MockStateInfo) TransactionByIDWithStatus(id []byte) (proto.Transaction, bool, error)
TransactionByIDWithStatus mocks base method.
func (*MockStateInfo) TransactionHeightByID ¶
func (m *MockStateInfo) TransactionHeightByID(id []byte) (uint64, error)
TransactionHeightByID mocks base method.
func (*MockStateInfo) VotesNum ¶
func (m *MockStateInfo) VotesNum(featureID int16) (uint64, error)
VotesNum mocks base method.
func (*MockStateInfo) VotesNumAtHeight ¶
VotesNumAtHeight mocks base method.
func (*MockStateInfo) WavesAddressesNumber ¶
func (m *MockStateInfo) WavesAddressesNumber() (uint64, error)
WavesAddressesNumber mocks base method.
func (*MockStateInfo) WavesBalance ¶ added in v0.10.0
func (m *MockStateInfo) WavesBalance(account proto.Recipient) (uint64, error)
WavesBalance mocks base method.
type MockStateInfoMockRecorder ¶
type MockStateInfoMockRecorder struct {
// contains filtered or unexported fields
}
MockStateInfoMockRecorder is the mock recorder for MockStateInfo.
func (*MockStateInfoMockRecorder) ActivationHeight ¶
func (mr *MockStateInfoMockRecorder) ActivationHeight(featureID interface{}) *gomock.Call
ActivationHeight indicates an expected call of ActivationHeight.
func (*MockStateInfoMockRecorder) AddrByAlias ¶
func (mr *MockStateInfoMockRecorder) AddrByAlias(alias interface{}) *gomock.Call
AddrByAlias indicates an expected call of AddrByAlias.
func (*MockStateInfoMockRecorder) AliasesByAddr ¶ added in v0.10.5
func (mr *MockStateInfoMockRecorder) AliasesByAddr(addr interface{}) *gomock.Call
AliasesByAddr indicates an expected call of AliasesByAddr.
func (*MockStateInfoMockRecorder) AllFeatures ¶
func (mr *MockStateInfoMockRecorder) AllFeatures() *gomock.Call
AllFeatures indicates an expected call of AllFeatures.
func (*MockStateInfoMockRecorder) ApprovalHeight ¶
func (mr *MockStateInfoMockRecorder) ApprovalHeight(featureID interface{}) *gomock.Call
ApprovalHeight indicates an expected call of ApprovalHeight.
func (*MockStateInfoMockRecorder) AssetBalance ¶ added in v0.10.0
func (mr *MockStateInfoMockRecorder) AssetBalance(account, assetID interface{}) *gomock.Call
AssetBalance indicates an expected call of AssetBalance.
func (*MockStateInfoMockRecorder) AssetInfo ¶
func (mr *MockStateInfoMockRecorder) AssetInfo(assetID interface{}) *gomock.Call
AssetInfo indicates an expected call of AssetInfo.
func (*MockStateInfoMockRecorder) AssetIsSponsored ¶
func (mr *MockStateInfoMockRecorder) AssetIsSponsored(assetID interface{}) *gomock.Call
AssetIsSponsored indicates an expected call of AssetIsSponsored.
func (*MockStateInfoMockRecorder) Block ¶
func (mr *MockStateInfoMockRecorder) Block(blockID interface{}) *gomock.Call
Block indicates an expected call of Block.
func (*MockStateInfoMockRecorder) BlockByHeight ¶
func (mr *MockStateInfoMockRecorder) BlockByHeight(height interface{}) *gomock.Call
BlockByHeight indicates an expected call of BlockByHeight.
func (*MockStateInfoMockRecorder) BlockIDToHeight ¶
func (mr *MockStateInfoMockRecorder) BlockIDToHeight(blockID interface{}) *gomock.Call
BlockIDToHeight indicates an expected call of BlockIDToHeight.
func (*MockStateInfoMockRecorder) BlockchainSettings ¶
func (mr *MockStateInfoMockRecorder) BlockchainSettings() *gomock.Call
BlockchainSettings indicates an expected call of BlockchainSettings.
func (*MockStateInfoMockRecorder) CurrentScore ¶
func (mr *MockStateInfoMockRecorder) CurrentScore() *gomock.Call
CurrentScore indicates an expected call of CurrentScore.
func (*MockStateInfoMockRecorder) EffectiveBalance ¶ added in v0.8.0
func (mr *MockStateInfoMockRecorder) EffectiveBalance(account, startHeight, endHeight interface{}) *gomock.Call
EffectiveBalance indicates an expected call of EffectiveBalance.
func (*MockStateInfoMockRecorder) EnrichedFullAssetInfo ¶ added in v0.10.5
func (mr *MockStateInfoMockRecorder) EnrichedFullAssetInfo(assetID interface{}) *gomock.Call
EnrichedFullAssetInfo indicates an expected call of EnrichedFullAssetInfo.
func (*MockStateInfoMockRecorder) EstimatorVersion ¶ added in v0.8.0
func (mr *MockStateInfoMockRecorder) EstimatorVersion() *gomock.Call
EstimatorVersion indicates an expected call of EstimatorVersion.
func (*MockStateInfoMockRecorder) FullAssetInfo ¶
func (mr *MockStateInfoMockRecorder) FullAssetInfo(assetID interface{}) *gomock.Call
FullAssetInfo indicates an expected call of FullAssetInfo.
func (*MockStateInfoMockRecorder) FullWavesBalance ¶
func (mr *MockStateInfoMockRecorder) FullWavesBalance(account interface{}) *gomock.Call
FullWavesBalance indicates an expected call of FullWavesBalance.
func (*MockStateInfoMockRecorder) Header ¶
func (mr *MockStateInfoMockRecorder) Header(blockID interface{}) *gomock.Call
Header indicates an expected call of Header.
func (*MockStateInfoMockRecorder) HeaderByHeight ¶
func (mr *MockStateInfoMockRecorder) HeaderByHeight(height interface{}) *gomock.Call
HeaderByHeight indicates an expected call of HeaderByHeight.
func (*MockStateInfoMockRecorder) Height ¶
func (mr *MockStateInfoMockRecorder) Height() *gomock.Call
Height indicates an expected call of Height.
func (*MockStateInfoMockRecorder) HeightToBlockID ¶
func (mr *MockStateInfoMockRecorder) HeightToBlockID(height interface{}) *gomock.Call
HeightToBlockID indicates an expected call of HeightToBlockID.
func (*MockStateInfoMockRecorder) HitSourceAtHeight ¶
func (mr *MockStateInfoMockRecorder) HitSourceAtHeight(height interface{}) *gomock.Call
HitSourceAtHeight indicates an expected call of HitSourceAtHeight.
func (*MockStateInfoMockRecorder) InvokeResultByID ¶
func (mr *MockStateInfoMockRecorder) InvokeResultByID(invokeID interface{}) *gomock.Call
InvokeResultByID indicates an expected call of InvokeResultByID.
func (*MockStateInfoMockRecorder) IsActivated ¶
func (mr *MockStateInfoMockRecorder) IsActivated(featureID interface{}) *gomock.Call
IsActivated indicates an expected call of IsActivated.
func (*MockStateInfoMockRecorder) IsActiveAtHeight ¶
func (mr *MockStateInfoMockRecorder) IsActiveAtHeight(featureID, height interface{}) *gomock.Call
IsActiveAtHeight indicates an expected call of IsActiveAtHeight.
func (*MockStateInfoMockRecorder) IsActiveLeasing ¶
func (mr *MockStateInfoMockRecorder) IsActiveLeasing(leaseID interface{}) *gomock.Call
IsActiveLeasing indicates an expected call of IsActiveLeasing.
func (*MockStateInfoMockRecorder) IsApproved ¶
func (mr *MockStateInfoMockRecorder) IsApproved(featureID interface{}) *gomock.Call
IsApproved indicates an expected call of IsApproved.
func (*MockStateInfoMockRecorder) IsApprovedAtHeight ¶
func (mr *MockStateInfoMockRecorder) IsApprovedAtHeight(featureID, height interface{}) *gomock.Call
IsApprovedAtHeight indicates an expected call of IsApprovedAtHeight.
func (*MockStateInfoMockRecorder) IsAssetExist ¶ added in v0.10.5
func (mr *MockStateInfoMockRecorder) IsAssetExist(assetID interface{}) *gomock.Call
IsAssetExist indicates an expected call of IsAssetExist.
func (*MockStateInfoMockRecorder) MapR ¶ added in v0.6.0
func (mr *MockStateInfoMockRecorder) MapR(arg0 interface{}) *gomock.Call
MapR indicates an expected call of MapR.
func (*MockStateInfoMockRecorder) NFTList ¶ added in v0.8.0
func (mr *MockStateInfoMockRecorder) NFTList(account, limit, afterAssetID interface{}) *gomock.Call
NFTList indicates an expected call of NFTList.
func (*MockStateInfoMockRecorder) NewAddrTransactionsIterator ¶
func (mr *MockStateInfoMockRecorder) NewAddrTransactionsIterator(addr interface{}) *gomock.Call
NewAddrTransactionsIterator indicates an expected call of NewAddrTransactionsIterator.
func (*MockStateInfoMockRecorder) NewestScriptByAccount ¶ added in v0.10.0
func (mr *MockStateInfoMockRecorder) NewestScriptByAccount(account interface{}) *gomock.Call
NewestScriptByAccount indicates an expected call of NewestScriptByAccount.
func (*MockStateInfoMockRecorder) NewestScriptBytesByAccount ¶ added in v0.10.0
func (mr *MockStateInfoMockRecorder) NewestScriptBytesByAccount(account interface{}) *gomock.Call
NewestScriptBytesByAccount indicates an expected call of NewestScriptBytesByAccount.
func (*MockStateInfoMockRecorder) ProvidesExtendedApi ¶
func (mr *MockStateInfoMockRecorder) ProvidesExtendedApi() *gomock.Call
ProvidesExtendedApi indicates an expected call of ProvidesExtendedApi.
func (*MockStateInfoMockRecorder) ProvidesStateHashes ¶ added in v0.6.0
func (mr *MockStateInfoMockRecorder) ProvidesStateHashes() *gomock.Call
ProvidesStateHashes indicates an expected call of ProvidesStateHashes.
func (*MockStateInfoMockRecorder) RetrieveBinaryEntry ¶
func (mr *MockStateInfoMockRecorder) RetrieveBinaryEntry(account, key interface{}) *gomock.Call
RetrieveBinaryEntry indicates an expected call of RetrieveBinaryEntry.
func (*MockStateInfoMockRecorder) RetrieveBooleanEntry ¶
func (mr *MockStateInfoMockRecorder) RetrieveBooleanEntry(account, key interface{}) *gomock.Call
RetrieveBooleanEntry indicates an expected call of RetrieveBooleanEntry.
func (*MockStateInfoMockRecorder) RetrieveEntries ¶
func (mr *MockStateInfoMockRecorder) RetrieveEntries(account interface{}) *gomock.Call
RetrieveEntries indicates an expected call of RetrieveEntries.
func (*MockStateInfoMockRecorder) RetrieveEntry ¶
func (mr *MockStateInfoMockRecorder) RetrieveEntry(account, key interface{}) *gomock.Call
RetrieveEntry indicates an expected call of RetrieveEntry.
func (*MockStateInfoMockRecorder) RetrieveIntegerEntry ¶
func (mr *MockStateInfoMockRecorder) RetrieveIntegerEntry(account, key interface{}) *gomock.Call
RetrieveIntegerEntry indicates an expected call of RetrieveIntegerEntry.
func (*MockStateInfoMockRecorder) RetrieveStringEntry ¶
func (mr *MockStateInfoMockRecorder) RetrieveStringEntry(account, key interface{}) *gomock.Call
RetrieveStringEntry indicates an expected call of RetrieveStringEntry.
func (*MockStateInfoMockRecorder) ScoreAtHeight ¶
func (mr *MockStateInfoMockRecorder) ScoreAtHeight(height interface{}) *gomock.Call
ScoreAtHeight indicates an expected call of ScoreAtHeight.
func (*MockStateInfoMockRecorder) ScriptBasicInfoByAccount ¶ added in v0.10.2
func (mr *MockStateInfoMockRecorder) ScriptBasicInfoByAccount(account interface{}) *gomock.Call
ScriptBasicInfoByAccount indicates an expected call of ScriptBasicInfoByAccount.
func (*MockStateInfoMockRecorder) ScriptInfoByAccount ¶
func (mr *MockStateInfoMockRecorder) ScriptInfoByAccount(account interface{}) *gomock.Call
ScriptInfoByAccount indicates an expected call of ScriptInfoByAccount.
func (*MockStateInfoMockRecorder) ScriptInfoByAsset ¶
func (mr *MockStateInfoMockRecorder) ScriptInfoByAsset(assetID interface{}) *gomock.Call
ScriptInfoByAsset indicates an expected call of ScriptInfoByAsset.
func (*MockStateInfoMockRecorder) ShouldPersistAddressTransactions ¶ added in v0.7.0
func (mr *MockStateInfoMockRecorder) ShouldPersistAddressTransactions() *gomock.Call
ShouldPersistAddressTransactions indicates an expected call of ShouldPersistAddressTransactions.
func (*MockStateInfoMockRecorder) StateHashAtHeight ¶ added in v0.6.0
func (mr *MockStateInfoMockRecorder) StateHashAtHeight(height interface{}) *gomock.Call
StateHashAtHeight indicates an expected call of StateHashAtHeight.
func (*MockStateInfoMockRecorder) TopBlock ¶
func (mr *MockStateInfoMockRecorder) TopBlock() *gomock.Call
TopBlock indicates an expected call of TopBlock.
func (*MockStateInfoMockRecorder) TransactionByID ¶
func (mr *MockStateInfoMockRecorder) TransactionByID(id interface{}) *gomock.Call
TransactionByID indicates an expected call of TransactionByID.
func (*MockStateInfoMockRecorder) TransactionByIDWithStatus ¶ added in v0.7.0
func (mr *MockStateInfoMockRecorder) TransactionByIDWithStatus(id interface{}) *gomock.Call
TransactionByIDWithStatus indicates an expected call of TransactionByIDWithStatus.
func (*MockStateInfoMockRecorder) TransactionHeightByID ¶
func (mr *MockStateInfoMockRecorder) TransactionHeightByID(id interface{}) *gomock.Call
TransactionHeightByID indicates an expected call of TransactionHeightByID.
func (*MockStateInfoMockRecorder) VotesNum ¶
func (mr *MockStateInfoMockRecorder) VotesNum(featureID interface{}) *gomock.Call
VotesNum indicates an expected call of VotesNum.
func (*MockStateInfoMockRecorder) VotesNumAtHeight ¶
func (mr *MockStateInfoMockRecorder) VotesNumAtHeight(featureID, height interface{}) *gomock.Call
VotesNumAtHeight indicates an expected call of VotesNumAtHeight.
func (*MockStateInfoMockRecorder) WavesAddressesNumber ¶
func (mr *MockStateInfoMockRecorder) WavesAddressesNumber() *gomock.Call
WavesAddressesNumber indicates an expected call of WavesAddressesNumber.
func (*MockStateInfoMockRecorder) WavesBalance ¶ added in v0.10.0
func (mr *MockStateInfoMockRecorder) WavesBalance(account interface{}) *gomock.Call
WavesBalance indicates an expected call of WavesBalance.
type MockStateMockRecorder ¶
type MockStateMockRecorder struct {
// contains filtered or unexported fields
}
MockStateMockRecorder is the mock recorder for MockState.
func (*MockStateMockRecorder) ActivationHeight ¶
func (mr *MockStateMockRecorder) ActivationHeight(featureID interface{}) *gomock.Call
ActivationHeight indicates an expected call of ActivationHeight.
func (*MockStateMockRecorder) AddBlock ¶
func (mr *MockStateMockRecorder) AddBlock(block interface{}) *gomock.Call
AddBlock indicates an expected call of AddBlock.
func (*MockStateMockRecorder) AddBlocks ¶ added in v0.10.0
func (mr *MockStateMockRecorder) AddBlocks(blocks interface{}) *gomock.Call
AddBlocks indicates an expected call of AddBlocks.
func (*MockStateMockRecorder) AddDeserializedBlock ¶
func (mr *MockStateMockRecorder) AddDeserializedBlock(block interface{}) *gomock.Call
AddDeserializedBlock indicates an expected call of AddDeserializedBlock.
func (*MockStateMockRecorder) AddDeserializedBlocks ¶ added in v0.10.0
func (mr *MockStateMockRecorder) AddDeserializedBlocks(blocks interface{}) *gomock.Call
AddDeserializedBlocks indicates an expected call of AddDeserializedBlocks.
func (*MockStateMockRecorder) AddrByAlias ¶
func (mr *MockStateMockRecorder) AddrByAlias(alias interface{}) *gomock.Call
AddrByAlias indicates an expected call of AddrByAlias.
func (*MockStateMockRecorder) AliasesByAddr ¶ added in v0.10.5
func (mr *MockStateMockRecorder) AliasesByAddr(addr interface{}) *gomock.Call
AliasesByAddr indicates an expected call of AliasesByAddr.
func (*MockStateMockRecorder) AllFeatures ¶
func (mr *MockStateMockRecorder) AllFeatures() *gomock.Call
AllFeatures indicates an expected call of AllFeatures.
func (*MockStateMockRecorder) ApprovalHeight ¶
func (mr *MockStateMockRecorder) ApprovalHeight(featureID interface{}) *gomock.Call
ApprovalHeight indicates an expected call of ApprovalHeight.
func (*MockStateMockRecorder) AssetBalance ¶ added in v0.10.0
func (mr *MockStateMockRecorder) AssetBalance(account, assetID interface{}) *gomock.Call
AssetBalance indicates an expected call of AssetBalance.
func (*MockStateMockRecorder) AssetInfo ¶
func (mr *MockStateMockRecorder) AssetInfo(assetID interface{}) *gomock.Call
AssetInfo indicates an expected call of AssetInfo.
func (*MockStateMockRecorder) AssetIsSponsored ¶
func (mr *MockStateMockRecorder) AssetIsSponsored(assetID interface{}) *gomock.Call
AssetIsSponsored indicates an expected call of AssetIsSponsored.
func (*MockStateMockRecorder) Block ¶
func (mr *MockStateMockRecorder) Block(blockID interface{}) *gomock.Call
Block indicates an expected call of Block.
func (*MockStateMockRecorder) BlockByHeight ¶
func (mr *MockStateMockRecorder) BlockByHeight(height interface{}) *gomock.Call
BlockByHeight indicates an expected call of BlockByHeight.
func (*MockStateMockRecorder) BlockIDToHeight ¶
func (mr *MockStateMockRecorder) BlockIDToHeight(blockID interface{}) *gomock.Call
BlockIDToHeight indicates an expected call of BlockIDToHeight.
func (*MockStateMockRecorder) BlockchainSettings ¶
func (mr *MockStateMockRecorder) BlockchainSettings() *gomock.Call
BlockchainSettings indicates an expected call of BlockchainSettings.
func (*MockStateMockRecorder) Close ¶
func (mr *MockStateMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStateMockRecorder) CurrentScore ¶
func (mr *MockStateMockRecorder) CurrentScore() *gomock.Call
CurrentScore indicates an expected call of CurrentScore.
func (*MockStateMockRecorder) EffectiveBalance ¶ added in v0.8.0
func (mr *MockStateMockRecorder) EffectiveBalance(account, startHeight, endHeight interface{}) *gomock.Call
EffectiveBalance indicates an expected call of EffectiveBalance.
func (*MockStateMockRecorder) EnrichedFullAssetInfo ¶ added in v0.10.5
func (mr *MockStateMockRecorder) EnrichedFullAssetInfo(assetID interface{}) *gomock.Call
EnrichedFullAssetInfo indicates an expected call of EnrichedFullAssetInfo.
func (*MockStateMockRecorder) EstimatorVersion ¶ added in v0.8.0
func (mr *MockStateMockRecorder) EstimatorVersion() *gomock.Call
EstimatorVersion indicates an expected call of EstimatorVersion.
func (*MockStateMockRecorder) FullAssetInfo ¶
func (mr *MockStateMockRecorder) FullAssetInfo(assetID interface{}) *gomock.Call
FullAssetInfo indicates an expected call of FullAssetInfo.
func (*MockStateMockRecorder) FullWavesBalance ¶
func (mr *MockStateMockRecorder) FullWavesBalance(account interface{}) *gomock.Call
FullWavesBalance indicates an expected call of FullWavesBalance.
func (*MockStateMockRecorder) Header ¶
func (mr *MockStateMockRecorder) Header(blockID interface{}) *gomock.Call
Header indicates an expected call of Header.
func (*MockStateMockRecorder) HeaderByHeight ¶
func (mr *MockStateMockRecorder) HeaderByHeight(height interface{}) *gomock.Call
HeaderByHeight indicates an expected call of HeaderByHeight.
func (*MockStateMockRecorder) Height ¶
func (mr *MockStateMockRecorder) Height() *gomock.Call
Height indicates an expected call of Height.
func (*MockStateMockRecorder) HeightToBlockID ¶
func (mr *MockStateMockRecorder) HeightToBlockID(height interface{}) *gomock.Call
HeightToBlockID indicates an expected call of HeightToBlockID.
func (*MockStateMockRecorder) HitSourceAtHeight ¶
func (mr *MockStateMockRecorder) HitSourceAtHeight(height interface{}) *gomock.Call
HitSourceAtHeight indicates an expected call of HitSourceAtHeight.
func (*MockStateMockRecorder) InvokeResultByID ¶
func (mr *MockStateMockRecorder) InvokeResultByID(invokeID interface{}) *gomock.Call
InvokeResultByID indicates an expected call of InvokeResultByID.
func (*MockStateMockRecorder) IsActivated ¶
func (mr *MockStateMockRecorder) IsActivated(featureID interface{}) *gomock.Call
IsActivated indicates an expected call of IsActivated.
func (*MockStateMockRecorder) IsActiveAtHeight ¶
func (mr *MockStateMockRecorder) IsActiveAtHeight(featureID, height interface{}) *gomock.Call
IsActiveAtHeight indicates an expected call of IsActiveAtHeight.
func (*MockStateMockRecorder) IsActiveLeasing ¶
func (mr *MockStateMockRecorder) IsActiveLeasing(leaseID interface{}) *gomock.Call
IsActiveLeasing indicates an expected call of IsActiveLeasing.
func (*MockStateMockRecorder) IsApproved ¶
func (mr *MockStateMockRecorder) IsApproved(featureID interface{}) *gomock.Call
IsApproved indicates an expected call of IsApproved.
func (*MockStateMockRecorder) IsApprovedAtHeight ¶
func (mr *MockStateMockRecorder) IsApprovedAtHeight(featureID, height interface{}) *gomock.Call
IsApprovedAtHeight indicates an expected call of IsApprovedAtHeight.
func (*MockStateMockRecorder) IsAssetExist ¶ added in v0.10.5
func (mr *MockStateMockRecorder) IsAssetExist(assetID interface{}) *gomock.Call
IsAssetExist indicates an expected call of IsAssetExist.
func (*MockStateMockRecorder) Map ¶ added in v0.6.0
func (mr *MockStateMockRecorder) Map(arg0 interface{}) *gomock.Call
Map indicates an expected call of Map.
func (*MockStateMockRecorder) MapR ¶ added in v0.6.0
func (mr *MockStateMockRecorder) MapR(arg0 interface{}) *gomock.Call
MapR indicates an expected call of MapR.
func (*MockStateMockRecorder) NFTList ¶ added in v0.8.0
func (mr *MockStateMockRecorder) NFTList(account, limit, afterAssetID interface{}) *gomock.Call
NFTList indicates an expected call of NFTList.
func (*MockStateMockRecorder) NewAddrTransactionsIterator ¶
func (mr *MockStateMockRecorder) NewAddrTransactionsIterator(addr interface{}) *gomock.Call
NewAddrTransactionsIterator indicates an expected call of NewAddrTransactionsIterator.
func (*MockStateMockRecorder) NewestScriptByAccount ¶ added in v0.10.0
func (mr *MockStateMockRecorder) NewestScriptByAccount(account interface{}) *gomock.Call
NewestScriptByAccount indicates an expected call of NewestScriptByAccount.
func (*MockStateMockRecorder) NewestScriptBytesByAccount ¶ added in v0.10.0
func (mr *MockStateMockRecorder) NewestScriptBytesByAccount(account interface{}) *gomock.Call
NewestScriptBytesByAccount indicates an expected call of NewestScriptBytesByAccount.
func (*MockStateMockRecorder) PersistAddressTransactions ¶ added in v0.7.0
func (mr *MockStateMockRecorder) PersistAddressTransactions() *gomock.Call
PersistAddressTransactions indicates an expected call of PersistAddressTransactions.
func (*MockStateMockRecorder) ProvidesExtendedApi ¶
func (mr *MockStateMockRecorder) ProvidesExtendedApi() *gomock.Call
ProvidesExtendedApi indicates an expected call of ProvidesExtendedApi.
func (*MockStateMockRecorder) ProvidesStateHashes ¶ added in v0.6.0
func (mr *MockStateMockRecorder) ProvidesStateHashes() *gomock.Call
ProvidesStateHashes indicates an expected call of ProvidesStateHashes.
func (*MockStateMockRecorder) ResetValidationList ¶
func (mr *MockStateMockRecorder) ResetValidationList() *gomock.Call
ResetValidationList indicates an expected call of ResetValidationList.
func (*MockStateMockRecorder) RetrieveBinaryEntry ¶
func (mr *MockStateMockRecorder) RetrieveBinaryEntry(account, key interface{}) *gomock.Call
RetrieveBinaryEntry indicates an expected call of RetrieveBinaryEntry.
func (*MockStateMockRecorder) RetrieveBooleanEntry ¶
func (mr *MockStateMockRecorder) RetrieveBooleanEntry(account, key interface{}) *gomock.Call
RetrieveBooleanEntry indicates an expected call of RetrieveBooleanEntry.
func (*MockStateMockRecorder) RetrieveEntries ¶
func (mr *MockStateMockRecorder) RetrieveEntries(account interface{}) *gomock.Call
RetrieveEntries indicates an expected call of RetrieveEntries.
func (*MockStateMockRecorder) RetrieveEntry ¶
func (mr *MockStateMockRecorder) RetrieveEntry(account, key interface{}) *gomock.Call
RetrieveEntry indicates an expected call of RetrieveEntry.
func (*MockStateMockRecorder) RetrieveIntegerEntry ¶
func (mr *MockStateMockRecorder) RetrieveIntegerEntry(account, key interface{}) *gomock.Call
RetrieveIntegerEntry indicates an expected call of RetrieveIntegerEntry.
func (*MockStateMockRecorder) RetrieveStringEntry ¶
func (mr *MockStateMockRecorder) RetrieveStringEntry(account, key interface{}) *gomock.Call
RetrieveStringEntry indicates an expected call of RetrieveStringEntry.
func (*MockStateMockRecorder) RollbackTo ¶
func (mr *MockStateMockRecorder) RollbackTo(removalEdge interface{}) *gomock.Call
RollbackTo indicates an expected call of RollbackTo.
func (*MockStateMockRecorder) RollbackToHeight ¶
func (mr *MockStateMockRecorder) RollbackToHeight(height interface{}) *gomock.Call
RollbackToHeight indicates an expected call of RollbackToHeight.
func (*MockStateMockRecorder) ScoreAtHeight ¶
func (mr *MockStateMockRecorder) ScoreAtHeight(height interface{}) *gomock.Call
ScoreAtHeight indicates an expected call of ScoreAtHeight.
func (*MockStateMockRecorder) ScriptBasicInfoByAccount ¶ added in v0.10.2
func (mr *MockStateMockRecorder) ScriptBasicInfoByAccount(account interface{}) *gomock.Call
ScriptBasicInfoByAccount indicates an expected call of ScriptBasicInfoByAccount.
func (*MockStateMockRecorder) ScriptInfoByAccount ¶
func (mr *MockStateMockRecorder) ScriptInfoByAccount(account interface{}) *gomock.Call
ScriptInfoByAccount indicates an expected call of ScriptInfoByAccount.
func (*MockStateMockRecorder) ScriptInfoByAsset ¶
func (mr *MockStateMockRecorder) ScriptInfoByAsset(assetID interface{}) *gomock.Call
ScriptInfoByAsset indicates an expected call of ScriptInfoByAsset.
func (*MockStateMockRecorder) ShouldPersistAddressTransactions ¶ added in v0.7.0
func (mr *MockStateMockRecorder) ShouldPersistAddressTransactions() *gomock.Call
ShouldPersistAddressTransactions indicates an expected call of ShouldPersistAddressTransactions.
func (*MockStateMockRecorder) StartProvidingExtendedApi ¶
func (mr *MockStateMockRecorder) StartProvidingExtendedApi() *gomock.Call
StartProvidingExtendedApi indicates an expected call of StartProvidingExtendedApi.
func (*MockStateMockRecorder) StateHashAtHeight ¶ added in v0.6.0
func (mr *MockStateMockRecorder) StateHashAtHeight(height interface{}) *gomock.Call
StateHashAtHeight indicates an expected call of StateHashAtHeight.
func (*MockStateMockRecorder) TopBlock ¶
func (mr *MockStateMockRecorder) TopBlock() *gomock.Call
TopBlock indicates an expected call of TopBlock.
func (*MockStateMockRecorder) TransactionByID ¶
func (mr *MockStateMockRecorder) TransactionByID(id interface{}) *gomock.Call
TransactionByID indicates an expected call of TransactionByID.
func (*MockStateMockRecorder) TransactionByIDWithStatus ¶ added in v0.7.0
func (mr *MockStateMockRecorder) TransactionByIDWithStatus(id interface{}) *gomock.Call
TransactionByIDWithStatus indicates an expected call of TransactionByIDWithStatus.
func (*MockStateMockRecorder) TransactionHeightByID ¶
func (mr *MockStateMockRecorder) TransactionHeightByID(id interface{}) *gomock.Call
TransactionHeightByID indicates an expected call of TransactionHeightByID.
func (*MockStateMockRecorder) TxValidation ¶ added in v0.6.0
func (mr *MockStateMockRecorder) TxValidation(arg0 interface{}) *gomock.Call
TxValidation indicates an expected call of TxValidation.
func (*MockStateMockRecorder) ValidateNextTx ¶
func (mr *MockStateMockRecorder) ValidateNextTx(tx, currentTimestamp, parentTimestamp, blockVersion, acceptFailed interface{}) *gomock.Call
ValidateNextTx indicates an expected call of ValidateNextTx.
func (*MockStateMockRecorder) VotesNum ¶
func (mr *MockStateMockRecorder) VotesNum(featureID interface{}) *gomock.Call
VotesNum indicates an expected call of VotesNum.
func (*MockStateMockRecorder) VotesNumAtHeight ¶
func (mr *MockStateMockRecorder) VotesNumAtHeight(featureID, height interface{}) *gomock.Call
VotesNumAtHeight indicates an expected call of VotesNumAtHeight.
func (*MockStateMockRecorder) WavesAddressesNumber ¶
func (mr *MockStateMockRecorder) WavesAddressesNumber() *gomock.Call
WavesAddressesNumber indicates an expected call of WavesAddressesNumber.
func (*MockStateMockRecorder) WavesBalance ¶ added in v0.10.0
func (mr *MockStateMockRecorder) WavesBalance(account interface{}) *gomock.Call
WavesBalance indicates an expected call of WavesBalance.
type MockStateModifier ¶
type MockStateModifier struct {
// contains filtered or unexported fields
}
MockStateModifier is a mock of StateModifier interface.
func NewMockStateModifier ¶
func NewMockStateModifier(ctrl *gomock.Controller) *MockStateModifier
NewMockStateModifier creates a new mock instance.
func (*MockStateModifier) AddBlock ¶
func (m *MockStateModifier) AddBlock(block []byte) (*proto.Block, error)
AddBlock mocks base method.
func (*MockStateModifier) AddBlocks ¶ added in v0.10.0
func (m *MockStateModifier) AddBlocks(blocks [][]byte) error
AddBlocks mocks base method.
func (*MockStateModifier) AddDeserializedBlock ¶
AddDeserializedBlock mocks base method.
func (*MockStateModifier) AddDeserializedBlocks ¶ added in v0.10.0
AddDeserializedBlocks mocks base method.
func (*MockStateModifier) Close ¶
func (m *MockStateModifier) Close() error
Close mocks base method.
func (*MockStateModifier) EXPECT ¶
func (m *MockStateModifier) EXPECT() *MockStateModifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStateModifier) Map ¶ added in v0.6.0
func (m *MockStateModifier) Map(arg0 func(state.NonThreadSafeState) error) error
Map mocks base method.
func (*MockStateModifier) PersistAddressTransactions ¶ added in v0.7.0
func (m *MockStateModifier) PersistAddressTransactions() error
PersistAddressTransactions mocks base method.
func (*MockStateModifier) ResetValidationList ¶
func (m *MockStateModifier) ResetValidationList()
ResetValidationList mocks base method.
func (*MockStateModifier) RollbackTo ¶
func (m *MockStateModifier) RollbackTo(removalEdge proto.BlockID) error
RollbackTo mocks base method.
func (*MockStateModifier) RollbackToHeight ¶
func (m *MockStateModifier) RollbackToHeight(height proto.Height) error
RollbackToHeight mocks base method.
func (*MockStateModifier) StartProvidingExtendedApi ¶
func (m *MockStateModifier) StartProvidingExtendedApi() error
StartProvidingExtendedApi mocks base method.
func (*MockStateModifier) TxValidation ¶ added in v0.6.0
func (m *MockStateModifier) TxValidation(arg0 func(state.TxValidation) error) error
TxValidation mocks base method.
func (*MockStateModifier) ValidateNextTx ¶
func (m *MockStateModifier) ValidateNextTx(tx proto.Transaction, currentTimestamp, parentTimestamp uint64, blockVersion proto.BlockVersion, acceptFailed bool) error
ValidateNextTx mocks base method.
type MockStateModifierMockRecorder ¶
type MockStateModifierMockRecorder struct {
// contains filtered or unexported fields
}
MockStateModifierMockRecorder is the mock recorder for MockStateModifier.
func (*MockStateModifierMockRecorder) AddBlock ¶
func (mr *MockStateModifierMockRecorder) AddBlock(block interface{}) *gomock.Call
AddBlock indicates an expected call of AddBlock.
func (*MockStateModifierMockRecorder) AddBlocks ¶ added in v0.10.0
func (mr *MockStateModifierMockRecorder) AddBlocks(blocks interface{}) *gomock.Call
AddBlocks indicates an expected call of AddBlocks.
func (*MockStateModifierMockRecorder) AddDeserializedBlock ¶
func (mr *MockStateModifierMockRecorder) AddDeserializedBlock(block interface{}) *gomock.Call
AddDeserializedBlock indicates an expected call of AddDeserializedBlock.
func (*MockStateModifierMockRecorder) AddDeserializedBlocks ¶ added in v0.10.0
func (mr *MockStateModifierMockRecorder) AddDeserializedBlocks(blocks interface{}) *gomock.Call
AddDeserializedBlocks indicates an expected call of AddDeserializedBlocks.
func (*MockStateModifierMockRecorder) Close ¶
func (mr *MockStateModifierMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStateModifierMockRecorder) Map ¶ added in v0.6.0
func (mr *MockStateModifierMockRecorder) Map(arg0 interface{}) *gomock.Call
Map indicates an expected call of Map.
func (*MockStateModifierMockRecorder) PersistAddressTransactions ¶ added in v0.7.0
func (mr *MockStateModifierMockRecorder) PersistAddressTransactions() *gomock.Call
PersistAddressTransactions indicates an expected call of PersistAddressTransactions.
func (*MockStateModifierMockRecorder) ResetValidationList ¶
func (mr *MockStateModifierMockRecorder) ResetValidationList() *gomock.Call
ResetValidationList indicates an expected call of ResetValidationList.
func (*MockStateModifierMockRecorder) RollbackTo ¶
func (mr *MockStateModifierMockRecorder) RollbackTo(removalEdge interface{}) *gomock.Call
RollbackTo indicates an expected call of RollbackTo.
func (*MockStateModifierMockRecorder) RollbackToHeight ¶
func (mr *MockStateModifierMockRecorder) RollbackToHeight(height interface{}) *gomock.Call
RollbackToHeight indicates an expected call of RollbackToHeight.
func (*MockStateModifierMockRecorder) StartProvidingExtendedApi ¶
func (mr *MockStateModifierMockRecorder) StartProvidingExtendedApi() *gomock.Call
StartProvidingExtendedApi indicates an expected call of StartProvidingExtendedApi.
func (*MockStateModifierMockRecorder) TxValidation ¶ added in v0.6.0
func (mr *MockStateModifierMockRecorder) TxValidation(arg0 interface{}) *gomock.Call
TxValidation indicates an expected call of TxValidation.
func (*MockStateModifierMockRecorder) ValidateNextTx ¶
func (mr *MockStateModifierMockRecorder) ValidateNextTx(tx, currentTimestamp, parentTimestamp, blockVersion, acceptFailed interface{}) *gomock.Call
ValidateNextTx indicates an expected call of ValidateNextTx.
type MockTransactionIterator ¶
type MockTransactionIterator struct {
// contains filtered or unexported fields
}
MockTransactionIterator is a mock of TransactionIterator interface.
func NewMockTransactionIterator ¶
func NewMockTransactionIterator(ctrl *gomock.Controller) *MockTransactionIterator
NewMockTransactionIterator creates a new mock instance.
func (*MockTransactionIterator) EXPECT ¶
func (m *MockTransactionIterator) EXPECT() *MockTransactionIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransactionIterator) Error ¶
func (m *MockTransactionIterator) Error() error
Error mocks base method.
func (*MockTransactionIterator) Next ¶
func (m *MockTransactionIterator) Next() bool
Next mocks base method.
func (*MockTransactionIterator) Release ¶
func (m *MockTransactionIterator) Release()
Release mocks base method.
func (*MockTransactionIterator) Transaction ¶
func (m *MockTransactionIterator) Transaction() (proto.Transaction, bool, error)
Transaction mocks base method.
type MockTransactionIteratorMockRecorder ¶
type MockTransactionIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionIteratorMockRecorder is the mock recorder for MockTransactionIterator.
func (*MockTransactionIteratorMockRecorder) Error ¶
func (mr *MockTransactionIteratorMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockTransactionIteratorMockRecorder) Next ¶
func (mr *MockTransactionIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockTransactionIteratorMockRecorder) Release ¶
func (mr *MockTransactionIteratorMockRecorder) Release() *gomock.Call
Release indicates an expected call of Release.
func (*MockTransactionIteratorMockRecorder) Transaction ¶
func (mr *MockTransactionIteratorMockRecorder) Transaction() *gomock.Call
Transaction indicates an expected call of Transaction.
type MockTxValidation ¶ added in v0.6.0
type MockTxValidation struct {
// contains filtered or unexported fields
}
MockTxValidation is a mock of TxValidation interface.
func NewMockTxValidation ¶ added in v0.6.0
func NewMockTxValidation(ctrl *gomock.Controller) *MockTxValidation
NewMockTxValidation creates a new mock instance.
func (*MockTxValidation) EXPECT ¶ added in v0.6.0
func (m *MockTxValidation) EXPECT() *MockTxValidationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTxValidation) ValidateNextTx ¶ added in v0.6.0
func (m *MockTxValidation) ValidateNextTx(tx proto.Transaction, currentTimestamp, parentTimestamp uint64, blockVersion proto.BlockVersion, acceptFailed bool) error
ValidateNextTx mocks base method.
type MockTxValidationMockRecorder ¶ added in v0.6.0
type MockTxValidationMockRecorder struct {
// contains filtered or unexported fields
}
MockTxValidationMockRecorder is the mock recorder for MockTxValidation.
func (*MockTxValidationMockRecorder) ValidateNextTx ¶ added in v0.6.0
func (mr *MockTxValidationMockRecorder) ValidateNextTx(tx, currentTimestamp, parentTimestamp, blockVersion, acceptFailed interface{}) *gomock.Call
ValidateNextTx indicates an expected call of ValidateNextTx.