mock

package
v0.10.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 18 Imported by: 0

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

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

Broadcast mocks base method.

func (*MockGrpcHandlers) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGrpcHandlers) GetActivationStatus added in v0.8.0

GetActivationStatus mocks base method.

func (*MockGrpcHandlers) GetActiveLeases added in v0.8.0

GetActiveLeases mocks base method.

func (*MockGrpcHandlers) GetBalances added in v0.8.0

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

GetBlock mocks base method.

func (*MockGrpcHandlers) GetBlockRange added in v0.8.0

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

GetDataEntries mocks base method.

func (*MockGrpcHandlers) GetInfo added in v0.8.0

GetInfo mocks base method.

func (*MockGrpcHandlers) GetNFTList added in v0.8.0

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

GetStateChanges mocks base method.

func (*MockGrpcHandlers) GetStatuses added in v0.8.0

GetStatuses mocks base method.

func (*MockGrpcHandlers) GetTransactions added in v0.8.0

GetTransactions mocks base method.

func (*MockGrpcHandlers) GetUnconfirmed added in v0.8.0

GetUnconfirmed mocks base method.

func (*MockGrpcHandlers) ResolveAlias added in v0.8.0

ResolveAlias mocks base method.

func (*MockGrpcHandlers) Sign added in v0.8.0

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) Close

func (m *MockPeer) Close() error

Close mocks base method.

func (*MockPeer) Connection

func (m *MockPeer) Connection() conn.Connection

Connection mocks base method.

func (*MockPeer) Direction

func (m *MockPeer) Direction() peer.Direction

Direction 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) Handshake

func (m *MockPeer) Handshake() proto.Handshake

Handshake mocks base method.

func (*MockPeer) ID

func (m *MockPeer) ID() peer.ID

ID mocks base method.

func (*MockPeer) RemoteAddr

func (m *MockPeer) RemoteAddr() proto.TCPAddr

RemoteAddr mocks base method.

func (*MockPeer) SendMessage

func (m *MockPeer) SendMessage(arg0 proto.Message)

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

func (m *MockPeerManager) AddToBlackList(peer peer.Peer, blockTime time.Time, reason string)

AddToBlackList mocks base method.

func (*MockPeerManager) AskPeers

func (m *MockPeerManager) AskPeers()

AskPeers 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) Close

func (m *MockPeerManager) Close()

Close mocks base method.

func (*MockPeerManager) Connect

func (m *MockPeerManager) Connect(arg0 context.Context, arg1 proto.TCPAddr) error

Connect 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

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) Score

func (m *MockPeerManager) Score(p peer.Peer) (*proto.Score, error)

Score mocks base method.

func (*MockPeerManager) SpawnIncomingConnection

func (m *MockPeerManager) SpawnIncomingConnection(ctx context.Context, conn net.Conn) error

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) Suspend

func (m *MockPeerManager) Suspend(peer peer.Peer, suspendTime time.Time, reason string)

Suspend 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

func (m *MockPeerManager) UpdateScore(p peer.Peer, score *proto.Score) error

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

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

func (m *MockPeerStorage) AddOrUpdateKnown(known []storage.KnownPeer, now time.Time) error

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPeerStorage) IsBlackListedIP added in v0.10.2

func (m *MockPeerStorage) IsBlackListedIP(ip storage.IP, now time.Time) bool

IsBlackListedIP mocks base method.

func (*MockPeerStorage) IsBlackListedIPs added in v0.10.2

func (m *MockPeerStorage) IsBlackListedIPs(ips []storage.IP, now time.Time) []bool

IsBlackListedIPs mocks base method.

func (*MockPeerStorage) IsSuspendedIP added in v0.9.0

func (m *MockPeerStorage) IsSuspendedIP(ip storage.IP, now time.Time) bool

IsSuspendedIP mocks base method.

func (*MockPeerStorage) IsSuspendedIPs added in v0.9.0

func (m *MockPeerStorage) IsSuspendedIPs(ips []storage.IP, now time.Time) []bool

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

func (m *MockState) ActivationHeight(featureID int16) (proto.Height, error)

ActivationHeight mocks base method.

func (*MockState) AddBlock

func (m *MockState) AddBlock(block []byte) (*proto.Block, error)

AddBlock mocks base method.

func (*MockState) AddBlocks added in v0.10.0

func (m *MockState) AddBlocks(blocks [][]byte) error

AddBlocks mocks base method.

func (*MockState) AddDeserializedBlock

func (m *MockState) AddDeserializedBlock(block *proto.Block) (*proto.Block, error)

AddDeserializedBlock mocks base method.

func (*MockState) AddDeserializedBlocks added in v0.10.0

func (m *MockState) AddDeserializedBlocks(blocks []*proto.Block) (*proto.Block, error)

AddDeserializedBlocks mocks base method.

func (*MockState) AddrByAlias

func (m *MockState) AddrByAlias(alias proto.Alias) (proto.WavesAddress, error)

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

func (m *MockState) AllFeatures() ([]int16, error)

AllFeatures mocks base method.

func (*MockState) ApprovalHeight

func (m *MockState) ApprovalHeight(featureID int16) (proto.Height, error)

ApprovalHeight mocks base method.

func (*MockState) AssetBalance added in v0.10.0

func (m *MockState) AssetBalance(account proto.Recipient, assetID proto.AssetID) (uint64, error)

AssetBalance mocks base method.

func (*MockState) AssetInfo

func (m *MockState) AssetInfo(assetID proto.AssetID) (*proto.AssetInfo, error)

AssetInfo mocks base method.

func (*MockState) AssetIsSponsored

func (m *MockState) AssetIsSponsored(assetID proto.AssetID) (bool, error)

AssetIsSponsored mocks base method.

func (*MockState) Block

func (m *MockState) Block(blockID proto.BlockID) (*proto.Block, error)

Block mocks base method.

func (*MockState) BlockByHeight

func (m *MockState) BlockByHeight(height proto.Height) (*proto.Block, error)

BlockByHeight mocks base method.

func (*MockState) BlockIDToHeight

func (m *MockState) BlockIDToHeight(blockID proto.BlockID) (proto.Height, error)

BlockIDToHeight mocks base method.

func (*MockState) BlockchainSettings

func (m *MockState) BlockchainSettings() (*settings.BlockchainSettings, error)

BlockchainSettings mocks base method.

func (*MockState) Close

func (m *MockState) Close() error

Close mocks base method.

func (*MockState) CurrentScore

func (m *MockState) CurrentScore() (*big.Int, error)

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

func (m *MockState) EstimatorVersion() (int, error)

EstimatorVersion mocks base method.

func (*MockState) FullAssetInfo

func (m *MockState) FullAssetInfo(assetID proto.AssetID) (*proto.FullAssetInfo, error)

FullAssetInfo mocks base method.

func (*MockState) FullWavesBalance

func (m *MockState) FullWavesBalance(account proto.Recipient) (*proto.FullWavesBalance, error)

FullWavesBalance mocks base method.

func (*MockState) Header

func (m *MockState) Header(blockID proto.BlockID) (*proto.BlockHeader, error)

Header mocks base method.

func (*MockState) HeaderByHeight

func (m *MockState) HeaderByHeight(height proto.Height) (*proto.BlockHeader, error)

HeaderByHeight mocks base method.

func (*MockState) Height

func (m *MockState) Height() (proto.Height, error)

Height mocks base method.

func (*MockState) HeightToBlockID

func (m *MockState) HeightToBlockID(height proto.Height) (proto.BlockID, error)

HeightToBlockID mocks base method.

func (*MockState) HitSourceAtHeight

func (m *MockState) HitSourceAtHeight(height proto.Height) ([]byte, error)

HitSourceAtHeight mocks base method.

func (*MockState) InvokeResultByID

func (m *MockState) InvokeResultByID(invokeID crypto.Digest) (*proto.ScriptResult, error)

InvokeResultByID mocks base method.

func (*MockState) IsActivated

func (m *MockState) IsActivated(featureID int16) (bool, error)

IsActivated mocks base method.

func (*MockState) IsActiveAtHeight

func (m *MockState) IsActiveAtHeight(featureID int16, height proto.Height) (bool, error)

IsActiveAtHeight mocks base method.

func (*MockState) IsActiveLeasing

func (m *MockState) IsActiveLeasing(leaseID crypto.Digest) (bool, error)

IsActiveLeasing mocks base method.

func (*MockState) IsApproved

func (m *MockState) IsApproved(featureID int16) (bool, error)

IsApproved mocks base method.

func (*MockState) IsApprovedAtHeight

func (m *MockState) IsApprovedAtHeight(featureID int16, height proto.Height) (bool, error)

IsApprovedAtHeight mocks base method.

func (*MockState) IsAssetExist added in v0.10.5

func (m *MockState) IsAssetExist(assetID proto.AssetID) (bool, error)

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) MapR added in v0.6.0

func (m *MockState) MapR(arg0 func(state.StateInfo) (interface{}, error)) (interface{}, error)

MapR 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

func (m *MockState) NewestScriptByAccount(account proto.Recipient) (*ast.Tree, error)

NewestScriptByAccount mocks base method.

func (*MockState) NewestScriptBytesByAccount added in v0.10.0

func (m *MockState) NewestScriptBytesByAccount(account proto.Recipient) (proto.Script, error)

NewestScriptBytesByAccount mocks base method.

func (*MockState) PersistAddressTransactions added in v0.7.0

func (m *MockState) PersistAddressTransactions() error

PersistAddressTransactions mocks base method.

func (*MockState) ProvidesExtendedApi

func (m *MockState) ProvidesExtendedApi() (bool, error)

ProvidesExtendedApi mocks base method.

func (*MockState) ProvidesStateHashes added in v0.6.0

func (m *MockState) ProvidesStateHashes() (bool, error)

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

func (m *MockState) RetrieveEntries(account proto.Recipient) ([]proto.DataEntry, error)

RetrieveEntries mocks base method.

func (*MockState) RetrieveEntry

func (m *MockState) RetrieveEntry(account proto.Recipient, key string) (proto.DataEntry, error)

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

func (m *MockState) RollbackTo(removalEdge proto.BlockID) error

RollbackTo mocks base method.

func (*MockState) RollbackToHeight

func (m *MockState) RollbackToHeight(height proto.Height) error

RollbackToHeight mocks base method.

func (*MockState) ScoreAtHeight

func (m *MockState) ScoreAtHeight(height proto.Height) (*big.Int, error)

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

func (m *MockState) ScriptInfoByAccount(account proto.Recipient) (*proto.ScriptInfo, error)

ScriptInfoByAccount mocks base method.

func (*MockState) ScriptInfoByAsset

func (m *MockState) ScriptInfoByAsset(assetID proto.AssetID) (*proto.ScriptInfo, error)

ScriptInfoByAsset mocks base method.

func (*MockState) ShouldPersistAddressTransactions added in v0.7.0

func (m *MockState) ShouldPersistAddressTransactions() (bool, error)

ShouldPersistAddressTransactions mocks base method.

func (*MockState) StartProvidingExtendedApi

func (m *MockState) StartProvidingExtendedApi() error

StartProvidingExtendedApi mocks base method.

func (*MockState) StateHashAtHeight added in v0.6.0

func (m *MockState) StateHashAtHeight(height uint64) (*proto.StateHash, error)

StateHashAtHeight mocks base method.

func (*MockState) TopBlock

func (m *MockState) TopBlock() *proto.Block

TopBlock 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

func (m *MockState) TransactionByIDWithStatus(id []byte) (proto.Transaction, bool, error)

TransactionByIDWithStatus mocks base method.

func (*MockState) TransactionHeightByID

func (m *MockState) TransactionHeightByID(id []byte) (uint64, error)

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) VotesNum

func (m *MockState) VotesNum(featureID int16) (uint64, error)

VotesNum mocks base method.

func (*MockState) VotesNumAtHeight

func (m *MockState) VotesNumAtHeight(featureID int16, height proto.Height) (uint64, error)

VotesNumAtHeight mocks base method.

func (*MockState) WavesAddressesNumber

func (m *MockState) WavesAddressesNumber() (uint64, error)

WavesAddressesNumber mocks base method.

func (*MockState) WavesBalance added in v0.10.0

func (m *MockState) WavesBalance(account proto.Recipient) (uint64, error)

WavesBalance 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) AssetInfo

func (m *MockStateInfo) AssetInfo(assetID proto.AssetID) (*proto.AssetInfo, error)

AssetInfo mocks base method.

func (*MockStateInfo) AssetIsSponsored

func (m *MockStateInfo) AssetIsSponsored(assetID proto.AssetID) (bool, error)

AssetIsSponsored mocks base method.

func (*MockStateInfo) Block

func (m *MockStateInfo) Block(blockID proto.BlockID) (*proto.Block, error)

Block mocks base method.

func (*MockStateInfo) BlockByHeight

func (m *MockStateInfo) BlockByHeight(height proto.Height) (*proto.Block, error)

BlockByHeight mocks base method.

func (*MockStateInfo) BlockIDToHeight

func (m *MockStateInfo) BlockIDToHeight(blockID proto.BlockID) (proto.Height, error)

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

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

func (m *MockStateInfo) HeightToBlockID(height proto.Height) (proto.BlockID, error)

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

func (m *MockStateInfo) IsActiveAtHeight(featureID int16, height proto.Height) (bool, error)

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

func (m *MockStateInfo) IsApprovedAtHeight(featureID int16, height proto.Height) (bool, error)

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

func (m *MockStateInfo) NewestScriptByAccount(account proto.Recipient) (*ast.Tree, error)

NewestScriptByAccount mocks base method.

func (*MockStateInfo) NewestScriptBytesByAccount added in v0.10.0

func (m *MockStateInfo) NewestScriptBytesByAccount(account proto.Recipient) (proto.Script, error)

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

func (m *MockStateInfo) RetrieveEntries(account proto.Recipient) ([]proto.DataEntry, error)

RetrieveEntries mocks base method.

func (*MockStateInfo) RetrieveEntry

func (m *MockStateInfo) RetrieveEntry(account proto.Recipient, key string) (proto.DataEntry, error)

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

func (m *MockStateInfo) ScoreAtHeight(height proto.Height) (*big.Int, error)

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

func (m *MockStateInfo) VotesNumAtHeight(featureID int16, height proto.Height) (uint64, error)

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

func (m *MockStateModifier) AddDeserializedBlock(block *proto.Block) (*proto.Block, error)

AddDeserializedBlock mocks base method.

func (*MockStateModifier) AddDeserializedBlocks added in v0.10.0

func (m *MockStateModifier) AddDeserializedBlocks(blocks []*proto.Block) (*proto.Block, error)

AddDeserializedBlocks mocks base method.

func (*MockStateModifier) Close

func (m *MockStateModifier) Close() error

Close mocks base method.

func (*MockStateModifier) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStateModifier) Map added in v0.6.0

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

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

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

Error indicates an expected call of Error.

func (*MockTransactionIteratorMockRecorder) Next

Next indicates an expected call of Next.

func (*MockTransactionIteratorMockRecorder) Release

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

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.

type NoOpPeer added in v0.6.0

type NoOpPeer struct {
}

func (NoOpPeer) SendMessage added in v0.6.0

func (NoOpPeer) SendMessage(proto.Message)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL