genesisdb

package
v3.0.0-alpha5.0...-c974331 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenesisDB

type GenesisDB interface {
	// Initialize initializes the genesis database, with either a given genesis state or the hardcoded databases.
	Initialize(state *state.CachingBeaconState) error

	IsInitialized() (bool, error)

	// ReadGenesisState returns the genesis state.
	ReadGenesisState() (*state.CachingBeaconState, error)
}

func NewGenesisDB

func NewGenesisDB(beaconConfig *clparams.BeaconChainConfig, genesisDBPath string) GenesisDB

Jump to

Keyboard shortcuts

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