client

package
v0.0.0-...-64ee0ca Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: BSD-3-Clause 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 interface {
	// GetBlock fetches the contents of a block
	GetBlock(ctx context.Context, blockID *ids.ID) (uint64, zcash.ZcashBlock, uint64, ids.ID, ids.ID, error)

	GetBlockByHeight(ctx context.Context, blockID uint64) (uint64, zcash.ZcashBlock, uint64, ids.ID, ids.ID, error)
}

Client defines zcash client operations.

func New

func New(uri string) Client

New creates a new client object.

Jump to

Keyboard shortcuts

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