txpool_mock

package
v3.0.0-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package txpool_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTxPool

type MockTxPool struct {
	// contains filtered or unexported fields
}

MockTxPool is a mock of TxPool interface

func NewMockTxPool

func NewMockTxPool(ctrl *gomock.Controller) *MockTxPool

NewMockTxPool creates a new mock instance

func (*MockTxPool) AddLinkedNode

func (m *MockTxPool) AddLinkedNode(arg0 *blockcache.BlockCacheNode) error

AddLinkedNode mocks base method

func (*MockTxPool) AddTx

func (m *MockTxPool) AddTx(arg0 *tx.Tx) error

AddTx mocks base method

func (*MockTxPool) DelTx

func (m *MockTxPool) DelTx(arg0 []byte) error

DelTx mocks base method

func (*MockTxPool) DelTxList

func (m *MockTxPool) DelTxList(arg0 []*tx.Tx)

DelTxList mocks base method

func (*MockTxPool) EXPECT

func (m *MockTxPool) EXPECT() *MockTxPoolMockRecorder

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

func (*MockTxPool) ExistTxs

func (m *MockTxPool) ExistTxs(arg0 []byte, arg1 *block.Block) txpool.FRet

ExistTxs mocks base method

func (*MockTxPool) GetFromChain added in v1.1.0

func (m *MockTxPool) GetFromChain(arg0 []byte) (*tx.Tx, *tx.TxReceipt, error)

GetFromChain mocks base method

func (*MockTxPool) GetFromPending added in v1.1.0

func (m *MockTxPool) GetFromPending(arg0 []byte) (*tx.Tx, error)

GetFromPending mocks base method

func (*MockTxPool) Lock

func (m *MockTxPool) Lock()

Lock mocks base method

func (*MockTxPool) PendingTx added in v1.1.0

PendingTx mocks base method

func (*MockTxPool) Release

func (m *MockTxPool) Release()

Release mocks base method

func (*MockTxPool) Start

func (m *MockTxPool) Start() error

Start mocks base method

func (*MockTxPool) Stop

func (m *MockTxPool) Stop()

Stop mocks base method

type MockTxPoolMockRecorder

type MockTxPoolMockRecorder struct {
	// contains filtered or unexported fields
}

MockTxPoolMockRecorder is the mock recorder for MockTxPool

func (*MockTxPoolMockRecorder) AddLinkedNode

func (mr *MockTxPoolMockRecorder) AddLinkedNode(arg0 interface{}) *gomock.Call

AddLinkedNode indicates an expected call of AddLinkedNode

func (*MockTxPoolMockRecorder) AddTx

func (mr *MockTxPoolMockRecorder) AddTx(arg0 interface{}) *gomock.Call

AddTx indicates an expected call of AddTx

func (*MockTxPoolMockRecorder) DelTx

func (mr *MockTxPoolMockRecorder) DelTx(arg0 interface{}) *gomock.Call

DelTx indicates an expected call of DelTx

func (*MockTxPoolMockRecorder) DelTxList

func (mr *MockTxPoolMockRecorder) DelTxList(arg0 interface{}) *gomock.Call

DelTxList indicates an expected call of DelTxList

func (*MockTxPoolMockRecorder) ExistTxs

func (mr *MockTxPoolMockRecorder) ExistTxs(arg0, arg1 interface{}) *gomock.Call

ExistTxs indicates an expected call of ExistTxs

func (*MockTxPoolMockRecorder) GetFromChain added in v1.1.0

func (mr *MockTxPoolMockRecorder) GetFromChain(arg0 interface{}) *gomock.Call

GetFromChain indicates an expected call of GetFromChain

func (*MockTxPoolMockRecorder) GetFromPending added in v1.1.0

func (mr *MockTxPoolMockRecorder) GetFromPending(arg0 interface{}) *gomock.Call

GetFromPending indicates an expected call of GetFromPending

func (*MockTxPoolMockRecorder) Lock

func (mr *MockTxPoolMockRecorder) Lock() *gomock.Call

Lock indicates an expected call of Lock

func (*MockTxPoolMockRecorder) PendingTx added in v1.1.0

func (mr *MockTxPoolMockRecorder) PendingTx() *gomock.Call

PendingTx indicates an expected call of PendingTx

func (*MockTxPoolMockRecorder) Release

func (mr *MockTxPoolMockRecorder) Release() *gomock.Call

Release indicates an expected call of Release

func (*MockTxPoolMockRecorder) Start

func (mr *MockTxPoolMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockTxPoolMockRecorder) Stop

func (mr *MockTxPoolMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

Jump to

Keyboard shortcuts

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