blockservice

package
v0.1.3-rc.5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorBlockNotFound = fmt.Errorf("block not found")

Functions

This section is empty.

Types

type BlockService

type BlockService interface {
	GetBlock(hash *chainhash.Hash) (*block.Block, error)
}

func NewEsploraBlockService

func NewEsploraBlockService(esploraURL string) BlockService

Jump to

Keyboard shortcuts

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