antiquary

package
v0.0.0-...-1f8a15b Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: GPL-3.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Antiquary

type Antiquary struct {
	// contains filtered or unexported fields
}

Antiquary is where the snapshots go, aka old history, it is what keep track of the oldest records.

func NewAntiquary

func NewAntiquary(ctx context.Context, genesisState *state.CachingBeaconState, validatorsTable *state_accessors.StaticValidatorTable, cfg *clparams.BeaconChainConfig, dirs datadir.Dirs, downloader proto_downloader.DownloaderClient, mainDB kv.RwDB, sn *freezeblocks.CaplinSnapshots, reader freezeblocks.BeaconSnapshotReader, beaconDB persistence.BlockSource, logger log.Logger, states bool, fs afero.Fs) *Antiquary

func (*Antiquary) IncrementBeaconState

func (s *Antiquary) IncrementBeaconState(ctx context.Context, to uint64) error

func (*Antiquary) Loop

func (a *Antiquary) Loop() error

Antiquate is the function that starts transactions seeding and shit, very cool but very shit too as a name.

func (*Antiquary) NotifyBackfilled

func (a *Antiquary) NotifyBackfilled()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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