mocks

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 3 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 NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

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) Close

func (_m *Client) Close() error

Close provides a mock function with given fields:

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) Ping

func (_m *Client) Ping() error

Ping 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

Jump to

Keyboard shortcuts

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