utils

package
v0.5.1-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBlockHeightBins

func GetBlockHeightBins(startingBlock, endingBlock, batchSize uint64) ([][]uint64, error)

GetBlockHeightBins splits a block range up into bins of block heights of the given batch size

func LoadPostgres

func LoadPostgres(database postgres.Config, node node.Info) postgres.DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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