rpcmock

package
v0.0.0-...-1c741c1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Generate

func (_m *Client) Generate(numBlocks uint32) ([]*chainhash.Hash, error)

Generate provides a mock function with given fields: numBlocks

func (*Client) GetBlockCount

func (_m *Client) GetBlockCount() (int64, error)

GetBlockCount provides a mock function with given fields:

func (*Client) ImportAddressRescan

func (_m *Client) ImportAddressRescan(address string, account string, rescan bool) error

ImportAddressRescan provides a mock function with given fields: address, account, rescan

func (*Client) ListUnspentMinMaxAddresses

func (_m *Client) ListUnspentMinMaxAddresses(minConf int, maxConf int, addrs []btcutil.Address) ([]btcjson.ListUnspentResult, error)

ListUnspentMinMaxAddresses provides a mock function with given fields: minConf, maxConf, addrs

func (*Client) RawRequest

func (_m *Client) RawRequest(method string, params []json.RawMessage) (json.RawMessage, error)

RawRequest provides a mock function with given fields: method, params

func (*Client) SendRawTransaction

func (_m *Client) SendRawTransaction(tx *wire.MsgTx, allowHighFees bool) (*chainhash.Hash, error)

SendRawTransaction provides a mock function with given fields: tx, allowHighFees

func (*Client) SendToAddress

func (_m *Client) SendToAddress(address btcutil.Address, amount btcutil.Amount) (*chainhash.Hash, error)

SendToAddress provides a mock function with given fields: address, amount

Jump to

Keyboard shortcuts

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