mocks

package
v4.13.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface struct {
	mock.Mock
}

Interface is an autogenerated mock type for the Interface type

func (*Interface) Close

func (_m *Interface) Close()

Close provides a mock function with given fields:

func (*Interface) ConnectionStatus

func (_m *Interface) ConnectionStatus() blockchain.Status

ConnectionStatus provides a mock function with given fields:

func (*Interface) EstimateFee

func (_m *Interface) EstimateFee(_a0 int, _a1 func(*btcutil.Amount) error, _a2 func(error))

EstimateFee provides a mock function with given fields: _a0, _a1, _a2

func (*Interface) GetMerkle

func (_m *Interface) GetMerkle(_a0 chainhash.Hash, _a1 int, _a2 func([]blockchain.TXHash, int) error, _a3 func(error))

GetMerkle provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Interface) Headers

func (_m *Interface) Headers(_a0 int, _a1 int, _a2 func([]*wire.BlockHeader, int) error, _a3 func(error))

Headers provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Interface) HeadersSubscribe

func (_m *Interface) HeadersSubscribe(_a0 func() func(error), _a1 func(*blockchain.Header) error)

HeadersSubscribe provides a mock function with given fields: _a0, _a1

func (*Interface) RegisterOnConnectionStatusChangedEvent

func (_m *Interface) RegisterOnConnectionStatusChangedEvent(_a0 func(blockchain.Status))

RegisterOnConnectionStatusChangedEvent provides a mock function with given fields: _a0

func (*Interface) RelayFee

func (_m *Interface) RelayFee(_a0 func(btcutil.Amount), _a1 func(error))

RelayFee provides a mock function with given fields: _a0, _a1

func (*Interface) ScriptHashGetHistory

func (_m *Interface) ScriptHashGetHistory(_a0 blockchain.ScriptHashHex, _a1 func(blockchain.TxHistory) error, _a2 func(error))

ScriptHashGetHistory provides a mock function with given fields: _a0, _a1, _a2

func (*Interface) ScriptHashSubscribe

func (_m *Interface) ScriptHashSubscribe(_a0 func() func(error), _a1 blockchain.ScriptHashHex, _a2 func(string) error)

ScriptHashSubscribe provides a mock function with given fields: _a0, _a1, _a2

func (*Interface) TransactionBroadcast

func (_m *Interface) TransactionBroadcast(_a0 *wire.MsgTx) error

TransactionBroadcast provides a mock function with given fields: _a0

func (*Interface) TransactionGet

func (_m *Interface) TransactionGet(_a0 chainhash.Hash, _a1 func(*wire.MsgTx) error, _a2 func(error))

TransactionGet provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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