Documentation ¶
Index ¶
- type Interface
- func (_m *Interface) Close()
- func (_m *Interface) ConnectionStatus() blockchain.Status
- func (_m *Interface) EstimateFee(_a0 int, _a1 func(*btcutil.Amount) error, _a2 func(error))
- func (_m *Interface) GetMerkle(_a0 chainhash.Hash, _a1 int, _a2 func([]blockchain.TXHash, int) error, ...)
- func (_m *Interface) Headers(_a0 int, _a1 int, _a2 func([]*wire.BlockHeader, int) error, _a3 func(error))
- func (_m *Interface) HeadersSubscribe(_a0 func() func(error), _a1 func(*blockchain.Header) error)
- func (_m *Interface) RegisterOnConnectionStatusChangedEvent(_a0 func(blockchain.Status))
- func (_m *Interface) RelayFee(_a0 func(btcutil.Amount) error, _a1 func(error))
- func (_m *Interface) ScriptHashGetHistory(_a0 blockchain.ScriptHashHex, _a1 func(blockchain.TxHistory) error, ...)
- func (_m *Interface) ScriptHashSubscribe(_a0 func() func(error), _a1 blockchain.ScriptHashHex, _a2 func(string) error)
- func (_m *Interface) TransactionBroadcast(_a0 *wire.MsgTx) error
- func (_m *Interface) TransactionGet(_a0 chainhash.Hash, _a1 func(*wire.MsgTx) error, _a2 func(error))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
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 ¶
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) 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 ¶
TransactionBroadcast provides a mock function with given fields: _a0