Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- 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() string
- func (m *MockPeer) RemoteAddr() proto.TCPAddr
- func (m *MockPeer) SendMessage(arg0 proto.Message)
- type MockPeerManager
- func (m *MockPeerManager) AddConnected(arg0 peer.Peer)
- func (m *MockPeerManager) AskPeers()
- func (m *MockPeerManager) Close()
- func (m *MockPeerManager) Connect(arg0 context.Context, arg1 proto.TCPAddr) error
- func (m *MockPeerManager) Connected(arg0 peer.Peer) (peer.Peer, bool)
- 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) InOutCount() (int, int)
- func (m *MockPeerManager) IsSuspended(arg0 peer.Peer) bool
- func (m *MockPeerManager) KnownPeers() ([]proto.TCPAddr, error)
- func (m *MockPeerManager) NewConnection(arg0 peer.Peer) error
- func (m *MockPeerManager) PeerWithHighestScore() (peer.Peer, *big.Int, bool)
- 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(arg0 peer.Peer, arg1 string)
- func (m *MockPeerManager) Suspended() []string
- func (m *MockPeerManager) UpdateKnownPeers(arg0 []proto.TCPAddr) error
- func (m *MockPeerManager) UpdateScore(p peer.Peer, score *proto.Score)
- type MockPeerManagerMockRecorder
- func (mr *MockPeerManagerMockRecorder) AddConnected(arg0 interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) AskPeers() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) Close() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) Connect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) Connected(arg0 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) InOutCount() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) IsSuspended(arg0 interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) KnownPeers() *gomock.Call
- func (mr *MockPeerManagerMockRecorder) NewConnection(arg0 interface{}) *gomock.Call
- func (mr *MockPeerManagerMockRecorder) PeerWithHighestScore() *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(arg0, arg1 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 MockState
- func (m *MockState) AccountBalance(account proto.Recipient, asset []byte) (uint64, error)
- func (m *MockState) ActivationHeight(featureID int16) (proto.Height, error)
- func (m *MockState) AddBlock(block []byte) (*proto.Block, error)
- func (m *MockState) AddDeserializedBlock(block *proto.Block) (*proto.Block, error)
- func (m *MockState) AddNewBlocks(blocks [][]byte) error
- func (m *MockState) AddNewDeserializedBlocks(blocks []*proto.Block) (*proto.Block, error)
- func (m *MockState) AddOldBlocks(blocks [][]byte) error
- func (m *MockState) AddOldDeserializedBlocks(blocks []*proto.Block) error
- func (m *MockState) AddrByAlias(alias proto.Alias) (proto.Address, error)
- func (m *MockState) AllFeatures() ([]int16, error)
- func (m *MockState) ApprovalHeight(featureID int16) (proto.Height, error)
- func (m *MockState) AssetInfo(assetID crypto.Digest) (*proto.AssetInfo, error)
- func (m *MockState) AssetIsSponsored(assetID crypto.Digest) (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) BlockVRF(blockHeader *proto.BlockHeader, height proto.Height) ([]byte, 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) EffectiveBalanceStable(account proto.Recipient, startHeight, endHeight proto.Height) (uint64, error)
- func (m *MockState) FullAssetInfo(assetID crypto.Digest) (*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) Mutex() *lock.RwMutex
- func (m *MockState) NewAddrTransactionsIterator(addr proto.Address) (state.TransactionIterator, error)
- func (m *MockState) Peers() ([]proto.TCPAddr, error)
- func (m *MockState) ProvidesExtendedApi() (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) SavePeers(arg0 []proto.TCPAddr) error
- func (m *MockState) ScoreAtHeight(height proto.Height) (*big.Int, error)
- func (m *MockState) ScriptInfoByAccount(account proto.Recipient) (*proto.ScriptInfo, error)
- func (m *MockState) ScriptInfoByAsset(assetID crypto.Digest) (*proto.ScriptInfo, error)
- func (m *MockState) StartProvidingExtendedApi() error
- func (m *MockState) TopBlock() *proto.Block
- func (m *MockState) TransactionByID(id []byte) (proto.Transaction, error)
- func (m *MockState) TransactionHeightByID(id []byte) (uint64, 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)
- type MockStateInfo
- func (m *MockStateInfo) AccountBalance(account proto.Recipient, asset []byte) (uint64, error)
- func (m *MockStateInfo) ActivationHeight(featureID int16) (proto.Height, error)
- func (m *MockStateInfo) AddrByAlias(alias proto.Alias) (proto.Address, error)
- func (m *MockStateInfo) AllFeatures() ([]int16, error)
- func (m *MockStateInfo) ApprovalHeight(featureID int16) (proto.Height, error)
- func (m *MockStateInfo) AssetInfo(assetID crypto.Digest) (*proto.AssetInfo, error)
- func (m *MockStateInfo) AssetIsSponsored(assetID crypto.Digest) (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) BlockVRF(blockHeader *proto.BlockHeader, height proto.Height) ([]byte, error)
- func (m *MockStateInfo) BlockchainSettings() (*settings.BlockchainSettings, error)
- func (m *MockStateInfo) CurrentScore() (*big.Int, error)
- func (m *MockStateInfo) EXPECT() *MockStateInfoMockRecorder
- func (m *MockStateInfo) EffectiveBalanceStable(account proto.Recipient, startHeight, endHeight proto.Height) (uint64, error)
- func (m *MockStateInfo) FullAssetInfo(assetID crypto.Digest) (*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) NewAddrTransactionsIterator(addr proto.Address) (state.TransactionIterator, error)
- func (m *MockStateInfo) Peers() ([]proto.TCPAddr, error)
- func (m *MockStateInfo) ProvidesExtendedApi() (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) ScriptInfoByAccount(account proto.Recipient) (*proto.ScriptInfo, error)
- func (m *MockStateInfo) ScriptInfoByAsset(assetID crypto.Digest) (*proto.ScriptInfo, error)
- func (m *MockStateInfo) TopBlock() *proto.Block
- func (m *MockStateInfo) TransactionByID(id []byte) (proto.Transaction, 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)
- type MockStateInfoMockRecorder
- func (mr *MockStateInfoMockRecorder) AccountBalance(account, asset interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) ActivationHeight(featureID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) AddrByAlias(alias interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) AllFeatures() *gomock.Call
- func (mr *MockStateInfoMockRecorder) ApprovalHeight(featureID 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) BlockVRF(blockHeader, height interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) BlockchainSettings() *gomock.Call
- func (mr *MockStateInfoMockRecorder) CurrentScore() *gomock.Call
- func (mr *MockStateInfoMockRecorder) EffectiveBalanceStable(account, startHeight, endHeight interface{}) *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) NewAddrTransactionsIterator(addr interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) Peers() *gomock.Call
- func (mr *MockStateInfoMockRecorder) ProvidesExtendedApi() *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) ScriptInfoByAccount(account interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) ScriptInfoByAsset(assetID interface{}) *gomock.Call
- func (mr *MockStateInfoMockRecorder) TopBlock() *gomock.Call
- func (mr *MockStateInfoMockRecorder) TransactionByID(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
- type MockStateMockRecorder
- func (mr *MockStateMockRecorder) AccountBalance(account, asset interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ActivationHeight(featureID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddBlock(block interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddDeserializedBlock(block interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddNewBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddNewDeserializedBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddOldBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddOldDeserializedBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AddrByAlias(alias interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) AllFeatures() *gomock.Call
- func (mr *MockStateMockRecorder) ApprovalHeight(featureID 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) BlockVRF(blockHeader, height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) BlockchainSettings() *gomock.Call
- func (mr *MockStateMockRecorder) Close() *gomock.Call
- func (mr *MockStateMockRecorder) CurrentScore() *gomock.Call
- func (mr *MockStateMockRecorder) EffectiveBalanceStable(account, startHeight, endHeight interface{}) *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) Mutex() *gomock.Call
- func (mr *MockStateMockRecorder) NewAddrTransactionsIterator(addr interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) Peers() *gomock.Call
- func (mr *MockStateMockRecorder) ProvidesExtendedApi() *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) SavePeers(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ScoreAtHeight(height interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ScriptInfoByAccount(account interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ScriptInfoByAsset(assetID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) StartProvidingExtendedApi() *gomock.Call
- func (mr *MockStateMockRecorder) TopBlock() *gomock.Call
- func (mr *MockStateMockRecorder) TransactionByID(id interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) TransactionHeightByID(id interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) ValidateNextTx(tx, currentTimestamp, parentTimestamp, blockVersion, vrf 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
- type MockStateModifier
- func (m *MockStateModifier) AddBlock(block []byte) (*proto.Block, error)
- func (m *MockStateModifier) AddDeserializedBlock(block *proto.Block) (*proto.Block, error)
- func (m *MockStateModifier) AddNewBlocks(blocks [][]byte) error
- func (m *MockStateModifier) AddNewDeserializedBlocks(blocks []*proto.Block) (*proto.Block, error)
- func (m *MockStateModifier) AddOldBlocks(blocks [][]byte) error
- func (m *MockStateModifier) AddOldDeserializedBlocks(blocks []*proto.Block) error
- func (m *MockStateModifier) Close() error
- func (m *MockStateModifier) EXPECT() *MockStateModifierMockRecorder
- func (m *MockStateModifier) Mutex() *lock.RwMutex
- func (m *MockStateModifier) ResetValidationList()
- func (m *MockStateModifier) RollbackTo(removalEdge proto.BlockID) error
- func (m *MockStateModifier) RollbackToHeight(height proto.Height) error
- func (m *MockStateModifier) SavePeers(arg0 []proto.TCPAddr) error
- func (m *MockStateModifier) StartProvidingExtendedApi() 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) AddDeserializedBlock(block interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) AddNewBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) AddNewDeserializedBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) AddOldBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) AddOldDeserializedBlocks(blocks interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) Close() *gomock.Call
- func (mr *MockStateModifierMockRecorder) Mutex() *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) SavePeers(arg0 interface{}) *gomock.Call
- func (mr *MockStateModifierMockRecorder) StartProvidingExtendedApi() *gomock.Call
- func (mr *MockStateModifierMockRecorder) ValidateNextTx(tx, currentTimestamp, parentTimestamp, blockVersion, vrf interface{}) *gomock.Call
- type MockTransactionIterator
- type MockTransactionIteratorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) AddConnected ¶
func (m *MockPeerManager) AddConnected(arg0 peer.Peer)
AddConnected 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) InOutCount ¶
func (m *MockPeerManager) InOutCount() (int, int)
InOutCount mocks base method
func (*MockPeerManager) IsSuspended ¶
func (m *MockPeerManager) IsSuspended(arg0 peer.Peer) bool
IsSuspended mocks base method
func (*MockPeerManager) KnownPeers ¶
func (m *MockPeerManager) KnownPeers() ([]proto.TCPAddr, error)
KnownPeers mocks base method
func (*MockPeerManager) NewConnection ¶
func (m *MockPeerManager) NewConnection(arg0 peer.Peer) error
NewConnection mocks base method
func (*MockPeerManager) PeerWithHighestScore ¶
PeerWithHighestScore 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) Suspend ¶
func (m *MockPeerManager) Suspend(arg0 peer.Peer, arg1 string)
Suspend mocks base method
func (*MockPeerManager) Suspended ¶
func (m *MockPeerManager) Suspended() []string
Suspended mocks base method
func (*MockPeerManager) UpdateKnownPeers ¶
func (m *MockPeerManager) UpdateKnownPeers(arg0 []proto.TCPAddr) error
UpdateKnownPeers mocks base method
func (*MockPeerManager) UpdateScore ¶
func (m *MockPeerManager) UpdateScore(p peer.Peer, score *proto.Score)
UpdateScore mocks base method
type MockPeerManagerMockRecorder ¶
type MockPeerManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockPeerManagerMockRecorder is the mock recorder for MockPeerManager
func (*MockPeerManagerMockRecorder) AddConnected ¶
func (mr *MockPeerManagerMockRecorder) AddConnected(arg0 interface{}) *gomock.Call
AddConnected indicates an expected call of AddConnected
func (*MockPeerManagerMockRecorder) AskPeers ¶
func (mr *MockPeerManagerMockRecorder) AskPeers() *gomock.Call
AskPeers indicates an expected call of AskPeers
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) Connected ¶
func (mr *MockPeerManagerMockRecorder) Connected(arg0 interface{}) *gomock.Call
Connected indicates an expected call of Connected
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) InOutCount ¶
func (mr *MockPeerManagerMockRecorder) InOutCount() *gomock.Call
InOutCount indicates an expected call of InOutCount
func (*MockPeerManagerMockRecorder) IsSuspended ¶
func (mr *MockPeerManagerMockRecorder) IsSuspended(arg0 interface{}) *gomock.Call
IsSuspended indicates an expected call of IsSuspended
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) PeerWithHighestScore ¶
func (mr *MockPeerManagerMockRecorder) PeerWithHighestScore() *gomock.Call
PeerWithHighestScore indicates an expected call of PeerWithHighestScore
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(arg0, arg1 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 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) AccountBalance ¶
AccountBalance mocks base method
func (*MockState) ActivationHeight ¶
ActivationHeight mocks base method
func (*MockState) AddDeserializedBlock ¶
AddDeserializedBlock mocks base method
func (*MockState) AddNewBlocks ¶
AddNewBlocks mocks base method
func (*MockState) AddNewDeserializedBlocks ¶
AddNewDeserializedBlocks mocks base method
func (*MockState) AddOldBlocks ¶
AddOldBlocks mocks base method
func (*MockState) AddOldDeserializedBlocks ¶
AddOldDeserializedBlocks mocks base method
func (*MockState) AddrByAlias ¶
AddrByAlias mocks base method
func (*MockState) AllFeatures ¶
AllFeatures mocks base method
func (*MockState) ApprovalHeight ¶
ApprovalHeight 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) EffectiveBalanceStable ¶
func (m *MockState) EffectiveBalanceStable(account proto.Recipient, startHeight, endHeight proto.Height) (uint64, error)
EffectiveBalanceStable 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) NewAddrTransactionsIterator ¶
func (m *MockState) NewAddrTransactionsIterator(addr proto.Address) (state.TransactionIterator, error)
NewAddrTransactionsIterator mocks base method
func (*MockState) ProvidesExtendedApi ¶
ProvidesExtendedApi 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) ScriptInfoByAccount ¶
ScriptInfoByAccount mocks base method
func (*MockState) ScriptInfoByAsset ¶
ScriptInfoByAsset mocks base method
func (*MockState) StartProvidingExtendedApi ¶
StartProvidingExtendedApi mocks base method
func (*MockState) TransactionByID ¶
func (m *MockState) TransactionByID(id []byte) (proto.Transaction, error)
TransactionByID mocks base method
func (*MockState) TransactionHeightByID ¶
TransactionHeightByID mocks base method
func (*MockState) ValidateNextTx ¶
func (m *MockState) ValidateNextTx(tx proto.Transaction, currentTimestamp, parentTimestamp uint64, blockVersion proto.BlockVersion, vrf []byte) 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) AccountBalance ¶
AccountBalance mocks base method
func (*MockStateInfo) ActivationHeight ¶
func (m *MockStateInfo) ActivationHeight(featureID int16) (proto.Height, error)
ActivationHeight mocks base method
func (*MockStateInfo) AddrByAlias ¶
AddrByAlias 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) AssetIsSponsored ¶
func (m *MockStateInfo) AssetIsSponsored(assetID crypto.Digest) (bool, error)
AssetIsSponsored mocks base method
func (*MockStateInfo) BlockByHeight ¶
BlockByHeight mocks base method
func (*MockStateInfo) BlockIDToHeight ¶
BlockIDToHeight mocks base method
func (*MockStateInfo) BlockVRF ¶
func (m *MockStateInfo) BlockVRF(blockHeader *proto.BlockHeader, height proto.Height) ([]byte, error)
BlockVRF 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) EffectiveBalanceStable ¶
func (m *MockStateInfo) EffectiveBalanceStable(account proto.Recipient, startHeight, endHeight proto.Height) (uint64, error)
EffectiveBalanceStable mocks base method
func (*MockStateInfo) FullAssetInfo ¶
func (m *MockStateInfo) FullAssetInfo(assetID crypto.Digest) (*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) NewAddrTransactionsIterator ¶
func (m *MockStateInfo) NewAddrTransactionsIterator(addr proto.Address) (state.TransactionIterator, error)
NewAddrTransactionsIterator mocks base method
func (*MockStateInfo) Peers ¶
func (m *MockStateInfo) Peers() ([]proto.TCPAddr, error)
Peers mocks base method
func (*MockStateInfo) ProvidesExtendedApi ¶
func (m *MockStateInfo) ProvidesExtendedApi() (bool, error)
ProvidesExtendedApi 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) ScriptInfoByAccount ¶
func (m *MockStateInfo) ScriptInfoByAccount(account proto.Recipient) (*proto.ScriptInfo, error)
ScriptInfoByAccount mocks base method
func (*MockStateInfo) ScriptInfoByAsset ¶
func (m *MockStateInfo) ScriptInfoByAsset(assetID crypto.Digest) (*proto.ScriptInfo, error)
ScriptInfoByAsset 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) 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
type MockStateInfoMockRecorder ¶
type MockStateInfoMockRecorder struct {
// contains filtered or unexported fields
}
MockStateInfoMockRecorder is the mock recorder for MockStateInfo
func (*MockStateInfoMockRecorder) AccountBalance ¶
func (mr *MockStateInfoMockRecorder) AccountBalance(account, asset interface{}) *gomock.Call
AccountBalance indicates an expected call of AccountBalance
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) 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) 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) BlockVRF ¶
func (mr *MockStateInfoMockRecorder) BlockVRF(blockHeader, height interface{}) *gomock.Call
BlockVRF indicates an expected call of BlockVRF
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) EffectiveBalanceStable ¶
func (mr *MockStateInfoMockRecorder) EffectiveBalanceStable(account, startHeight, endHeight interface{}) *gomock.Call
EffectiveBalanceStable indicates an expected call of EffectiveBalanceStable
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) NewAddrTransactionsIterator ¶
func (mr *MockStateInfoMockRecorder) NewAddrTransactionsIterator(addr interface{}) *gomock.Call
NewAddrTransactionsIterator indicates an expected call of NewAddrTransactionsIterator
func (*MockStateInfoMockRecorder) Peers ¶
func (mr *MockStateInfoMockRecorder) Peers() *gomock.Call
Peers indicates an expected call of Peers
func (*MockStateInfoMockRecorder) ProvidesExtendedApi ¶
func (mr *MockStateInfoMockRecorder) ProvidesExtendedApi() *gomock.Call
ProvidesExtendedApi indicates an expected call of ProvidesExtendedApi
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) 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) 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) 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
type MockStateMockRecorder ¶
type MockStateMockRecorder struct {
// contains filtered or unexported fields
}
MockStateMockRecorder is the mock recorder for MockState
func (*MockStateMockRecorder) AccountBalance ¶
func (mr *MockStateMockRecorder) AccountBalance(account, asset interface{}) *gomock.Call
AccountBalance indicates an expected call of AccountBalance
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) AddDeserializedBlock ¶
func (mr *MockStateMockRecorder) AddDeserializedBlock(block interface{}) *gomock.Call
AddDeserializedBlock indicates an expected call of AddDeserializedBlock
func (*MockStateMockRecorder) AddNewBlocks ¶
func (mr *MockStateMockRecorder) AddNewBlocks(blocks interface{}) *gomock.Call
AddNewBlocks indicates an expected call of AddNewBlocks
func (*MockStateMockRecorder) AddNewDeserializedBlocks ¶
func (mr *MockStateMockRecorder) AddNewDeserializedBlocks(blocks interface{}) *gomock.Call
AddNewDeserializedBlocks indicates an expected call of AddNewDeserializedBlocks
func (*MockStateMockRecorder) AddOldBlocks ¶
func (mr *MockStateMockRecorder) AddOldBlocks(blocks interface{}) *gomock.Call
AddOldBlocks indicates an expected call of AddOldBlocks
func (*MockStateMockRecorder) AddOldDeserializedBlocks ¶
func (mr *MockStateMockRecorder) AddOldDeserializedBlocks(blocks interface{}) *gomock.Call
AddOldDeserializedBlocks indicates an expected call of AddOldDeserializedBlocks
func (*MockStateMockRecorder) AddrByAlias ¶
func (mr *MockStateMockRecorder) AddrByAlias(alias interface{}) *gomock.Call
AddrByAlias indicates an expected call of AddrByAlias
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) 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) BlockVRF ¶
func (mr *MockStateMockRecorder) BlockVRF(blockHeader, height interface{}) *gomock.Call
BlockVRF indicates an expected call of BlockVRF
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) EffectiveBalanceStable ¶
func (mr *MockStateMockRecorder) EffectiveBalanceStable(account, startHeight, endHeight interface{}) *gomock.Call
EffectiveBalanceStable indicates an expected call of EffectiveBalanceStable
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) Mutex ¶
func (mr *MockStateMockRecorder) Mutex() *gomock.Call
Mutex indicates an expected call of Mutex
func (*MockStateMockRecorder) NewAddrTransactionsIterator ¶
func (mr *MockStateMockRecorder) NewAddrTransactionsIterator(addr interface{}) *gomock.Call
NewAddrTransactionsIterator indicates an expected call of NewAddrTransactionsIterator
func (*MockStateMockRecorder) Peers ¶
func (mr *MockStateMockRecorder) Peers() *gomock.Call
Peers indicates an expected call of Peers
func (*MockStateMockRecorder) ProvidesExtendedApi ¶
func (mr *MockStateMockRecorder) ProvidesExtendedApi() *gomock.Call
ProvidesExtendedApi indicates an expected call of ProvidesExtendedApi
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) SavePeers ¶
func (mr *MockStateMockRecorder) SavePeers(arg0 interface{}) *gomock.Call
SavePeers indicates an expected call of SavePeers
func (*MockStateMockRecorder) ScoreAtHeight ¶
func (mr *MockStateMockRecorder) ScoreAtHeight(height interface{}) *gomock.Call
ScoreAtHeight indicates an expected call of ScoreAtHeight
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) StartProvidingExtendedApi ¶
func (mr *MockStateMockRecorder) StartProvidingExtendedApi() *gomock.Call
StartProvidingExtendedApi indicates an expected call of StartProvidingExtendedApi
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) TransactionHeightByID ¶
func (mr *MockStateMockRecorder) TransactionHeightByID(id interface{}) *gomock.Call
TransactionHeightByID indicates an expected call of TransactionHeightByID
func (*MockStateMockRecorder) ValidateNextTx ¶
func (mr *MockStateMockRecorder) ValidateNextTx(tx, currentTimestamp, parentTimestamp, blockVersion, vrf 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
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) AddDeserializedBlock ¶
AddDeserializedBlock mocks base method
func (*MockStateModifier) AddNewBlocks ¶
func (m *MockStateModifier) AddNewBlocks(blocks [][]byte) error
AddNewBlocks mocks base method
func (*MockStateModifier) AddNewDeserializedBlocks ¶
AddNewDeserializedBlocks mocks base method
func (*MockStateModifier) AddOldBlocks ¶
func (m *MockStateModifier) AddOldBlocks(blocks [][]byte) error
AddOldBlocks mocks base method
func (*MockStateModifier) AddOldDeserializedBlocks ¶
func (m *MockStateModifier) AddOldDeserializedBlocks(blocks []*proto.Block) error
AddOldDeserializedBlocks 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) Mutex ¶
func (m *MockStateModifier) Mutex() *lock.RwMutex
Mutex 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) SavePeers ¶
func (m *MockStateModifier) SavePeers(arg0 []proto.TCPAddr) error
SavePeers mocks base method
func (*MockStateModifier) StartProvidingExtendedApi ¶
func (m *MockStateModifier) StartProvidingExtendedApi() error
StartProvidingExtendedApi mocks base method
func (*MockStateModifier) ValidateNextTx ¶
func (m *MockStateModifier) ValidateNextTx(tx proto.Transaction, currentTimestamp, parentTimestamp uint64, blockVersion proto.BlockVersion, vrf []byte) 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) AddDeserializedBlock ¶
func (mr *MockStateModifierMockRecorder) AddDeserializedBlock(block interface{}) *gomock.Call
AddDeserializedBlock indicates an expected call of AddDeserializedBlock
func (*MockStateModifierMockRecorder) AddNewBlocks ¶
func (mr *MockStateModifierMockRecorder) AddNewBlocks(blocks interface{}) *gomock.Call
AddNewBlocks indicates an expected call of AddNewBlocks
func (*MockStateModifierMockRecorder) AddNewDeserializedBlocks ¶
func (mr *MockStateModifierMockRecorder) AddNewDeserializedBlocks(blocks interface{}) *gomock.Call
AddNewDeserializedBlocks indicates an expected call of AddNewDeserializedBlocks
func (*MockStateModifierMockRecorder) AddOldBlocks ¶
func (mr *MockStateModifierMockRecorder) AddOldBlocks(blocks interface{}) *gomock.Call
AddOldBlocks indicates an expected call of AddOldBlocks
func (*MockStateModifierMockRecorder) AddOldDeserializedBlocks ¶
func (mr *MockStateModifierMockRecorder) AddOldDeserializedBlocks(blocks interface{}) *gomock.Call
AddOldDeserializedBlocks indicates an expected call of AddOldDeserializedBlocks
func (*MockStateModifierMockRecorder) Close ¶
func (mr *MockStateModifierMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockStateModifierMockRecorder) Mutex ¶
func (mr *MockStateModifierMockRecorder) Mutex() *gomock.Call
Mutex indicates an expected call of Mutex
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) SavePeers ¶
func (mr *MockStateModifierMockRecorder) SavePeers(arg0 interface{}) *gomock.Call
SavePeers indicates an expected call of SavePeers
func (*MockStateModifierMockRecorder) StartProvidingExtendedApi ¶
func (mr *MockStateModifierMockRecorder) StartProvidingExtendedApi() *gomock.Call
StartProvidingExtendedApi indicates an expected call of StartProvidingExtendedApi
func (*MockStateModifierMockRecorder) ValidateNextTx ¶
func (mr *MockStateModifierMockRecorder) ValidateNextTx(tx, currentTimestamp, parentTimestamp, blockVersion, vrf 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, 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