Documentation ¶
Index ¶
- type Client
- func (_m *Client) Close() error
- func (_m *Client) GetNetworkInfo() (*btcjson.GetNetworkInfoResult, error)
- func (_m *Client) MasternodeListJSON(filter string) (map[string]btcjson.MasternodelistResultJSON, error)
- func (_m *Client) MasternodeStatus() (*btcjson.MasternodeStatusResult, error)
- func (_m *Client) Ping() error
- func (_m *Client) QuorumInfo(quorumType btcjson.LLMQType, quorumHash bytes.HexBytes) (*btcjson.QuorumInfoResult, error)
- func (_m *Client) QuorumSign(quorumType btcjson.LLMQType, requestID bytes.HexBytes, ...) (*btcjson.QuorumSignResult, error)
- func (_m *Client) QuorumVerify(quorumType btcjson.LLMQType, requestID bytes.HexBytes, ...) (bool, 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 NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) GetNetworkInfo ¶
func (_m *Client) GetNetworkInfo() (*btcjson.GetNetworkInfoResult, error)
GetNetworkInfo provides a mock function with given fields:
func (*Client) MasternodeListJSON ¶
func (_m *Client) MasternodeListJSON(filter string) (map[string]btcjson.MasternodelistResultJSON, error)
MasternodeListJSON provides a mock function with given fields: filter
func (*Client) MasternodeStatus ¶
func (_m *Client) MasternodeStatus() (*btcjson.MasternodeStatusResult, error)
MasternodeStatus provides a mock function with given fields:
func (*Client) QuorumInfo ¶
func (_m *Client) QuorumInfo(quorumType btcjson.LLMQType, quorumHash bytes.HexBytes) (*btcjson.QuorumInfoResult, error)
QuorumInfo provides a mock function with given fields: quorumType, quorumHash
func (*Client) QuorumSign ¶
func (_m *Client) QuorumSign(quorumType btcjson.LLMQType, requestID bytes.HexBytes, messageHash bytes.HexBytes, quorumHash bytes.HexBytes) (*btcjson.QuorumSignResult, error)
QuorumSign provides a mock function with given fields: quorumType, requestID, messageHash, quorumHash
func (*Client) QuorumVerify ¶
func (_m *Client) QuorumVerify(quorumType btcjson.LLMQType, requestID bytes.HexBytes, messageHash bytes.HexBytes, signature bytes.HexBytes, quorumHash bytes.HexBytes) (bool, error)
QuorumVerify provides a mock function with given fields: quorumType, requestID, messageHash, signature, quorumHash