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 (*Antiquary) Loop ¶
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()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.