Documentation ¶
Index ¶
- type Client
- func (_m *Client) Generate(numBlocks uint32) ([]*chainhash.Hash, error)
- func (_m *Client) GetBlockCount() (int64, error)
- func (_m *Client) ImportAddressRescan(address string, account string, rescan bool) error
- func (_m *Client) ListUnspentMinMaxAddresses(minConf int, maxConf int, addrs []btcutil.Address) ([]btcjson.ListUnspentResult, error)
- func (_m *Client) RawRequest(method string, params []json.RawMessage) (json.RawMessage, error)
- func (_m *Client) SendRawTransaction(tx *wire.MsgTx, allowHighFees bool) (*chainhash.Hash, error)
- func (_m *Client) SendToAddress(address btcutil.Address, amount btcutil.Amount) (*chainhash.Hash, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) GetBlockCount ¶
GetBlockCount provides a mock function with given fields:
func (*Client) ImportAddressRescan ¶
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 ¶
SendRawTransaction provides a mock function with given fields: tx, allowHighFees
Click to show internal directories.
Click to hide internal directories.