services

package
v0.0.0-...-54f36b3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 4 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) NetworkStatus

func (_m *Client) NetworkStatus(_a0 context.Context) (*types.NetworkStatusResponse, error)

NetworkStatus provides a mock function with given fields: _a0

func (*Client) RawMempool

func (_m *Client) RawMempool(_a0 context.Context) ([]string, error)

RawMempool provides a mock function with given fields: _a0

func (*Client) SendRawTransaction

func (_m *Client) SendRawTransaction(_a0 context.Context, _a1 string) (string, error)

SendRawTransaction provides a mock function with given fields: _a0, _a1

func (*Client) SuggestedFeeRate

func (_m *Client) SuggestedFeeRate(_a0 context.Context, _a1 int64) (float64, error)

SuggestedFeeRate provides a mock function with given fields: _a0, _a1

type Indexer

type Indexer struct {
	mock.Mock
}

Indexer is an autogenerated mock type for the Indexer type

func (*Indexer) GetBlockLazy

func (_m *Indexer) GetBlockLazy(_a0 context.Context, _a1 *types.PartialBlockIdentifier) (*types.BlockResponse, error)

GetBlockLazy provides a mock function with given fields: _a0, _a1

func (*Indexer) GetBlockTransaction

func (_m *Indexer) GetBlockTransaction(_a0 context.Context, _a1 *types.BlockIdentifier, _a2 *types.TransactionIdentifier) (*types.Transaction, error)

GetBlockTransaction provides a mock function with given fields: _a0, _a1, _a2

func (*Indexer) GetCoins

GetCoins provides a mock function with given fields: _a0, _a1

func (*Indexer) GetScriptPubKeys

func (_m *Indexer) GetScriptPubKeys(_a0 context.Context, _a1 []*types.Coin) ([]*bitcoin.ScriptPubKey, error)

GetScriptPubKeys provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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