latestData

package
v1.1.65 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLatestDataProvider

func NewLatestDataProvider(args ArgsLatestDataProvider) (*latestDataProvider, error)

NewLatestDataProvider returns a new instance of latestDataProvider

Types

type ArgsLatestDataProvider

type ArgsLatestDataProvider struct {
	GeneralConfig         config.Config
	Marshalizer           marshal.Marshalizer
	Hasher                hashing.Hasher
	BootstrapDataProvider factory.BootstrapDataProviderHandler
	DirectoryReader       storage.DirectoryReaderHandler
	WorkingDir            string
	ChainID               string
	DefaultDBPath         string
	DefaultEpochString    string
	DefaultShardString    string
}

ArgsLatestDataProvider holds the arguments needed for creating a latestDataProvider object

Jump to

Keyboard shortcuts

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