antiquary

package
v1.9.7-0...-24da1cd Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: LGPL-3.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const EnabledPreAllocate = true

Variables

This section is empty.

Functions

func FillStaticValidatorsTableIfNeeded

func FillStaticValidatorsTableIfNeeded(ctx context.Context, logger log.Logger, stateSn *snapshotsync.CaplinStateSnapshots, validatorsTable *state_accessors.StaticValidatorTable) (bool, error)

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, blobStorage blob_storage.BlobStorage, genesisState *state.CachingBeaconState, validatorsTable *state_accessors.StaticValidatorTable, cfg *clparams.BeaconChainConfig, dirs datadir.Dirs, downloader proto_downloader.DownloaderClient, mainDB kv.RwDB, stateSn *snapshotsync.CaplinStateSnapshots, sn *freezeblocks.CaplinSnapshots, reader freezeblocks.BeaconSnapshotReader, syncedData synced_data.SyncedData, logger log.Logger, states, blocks, blobs, snapgen bool, snBuildSema *semaphore.Weighted) *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()

func (*Antiquary) NotifyBlobBackfilled

func (a *Antiquary) NotifyBlobBackfilled()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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