rangedv2

package
v0.9.28 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRange

func GetRange(ctx context.Context, hr structs.HeightRange, btx BTX) (h structs.Heights, err error)

getRange gets given range of blocks and transactions

Types

type BTX

type BTX interface {
	BlockAndTx(ctx context.Context, height uint64) (block structs.BlockWithMeta, err error)
}

type OutH

type OutH struct {
	Height uint64
	Block  structs.BlockWithMeta
	Error  error
}

Jump to

Keyboard shortcuts

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