indexer

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 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) GetRawBlock

func (_m *Client) GetRawBlock(_a0 context.Context, _a1 *types.PartialBlockIdentifier) (*bitcoin.Block, []string, error)

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

func (*Client) NetworkStatus

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

NetworkStatus provides a mock function with given fields: _a0

func (*Client) ParseBlock

func (_m *Client) ParseBlock(_a0 context.Context, _a1 *bitcoin.Block, _a2 map[string]*types.AccountCoin) (*types.Block, error)

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

func (*Client) PruneBlockchain

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

PruneBlockchain 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