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, blobStorage blob_storage.BlobStorage, 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, 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.