package
0.3.10
Repository: https://github.com/prysmaticlabs/go-ethereum.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewAttestationCache initializes the map and underlying cache.
NewCheckpointStateCache creates a new checkpoint state cache for storing/accessing processed state.
NewCommitteesCache creates a new committee cache for storing/accessing shuffled indices of a committee.
NewEth1DataVoteCache creates a new eth1 data vote count cache for storing/accessing Eth1DataVote.
NewHotStateCache initializes the map and underlying cache.
NewSkipSlotCache initializes the map and underlying cache.
NewStateSummaryCache creates a new state summary cache.

# Variables

CommitteeCacheHit tracks the number of committee requests that are in the cache.
CommitteeCacheMiss tracks the number of committee requests that aren't present in the cache.
CommitteeIDs for attestations.
ErrAlreadyInProgress appears when attempting to mark a cache as in progress while it is already in progress.
ErrNotCheckpointState will be returned when a cache object is not a pointer to a CheckpointState struct.
ErrNotCommittee will be returned when a cache object is not a pointer to a Committee struct.
ErrNotEth1DataVote will be returned when a cache object is not a pointer to a Eth1DataVote struct.

# Structs

AttestationCache is used to store the cached results of an AttestationData request.
CheckpointState defines the active validator indices per epoch.
CheckpointStateCache is a struct with 1 queue for looking up state by checkpoint.
CommitteeCache is a struct with 1 queue for looking up shuffled indices list by seed.
Committees defines the shuffled committees seed.
Eth1DataVote defines the struct which keeps track of the vote count of individual deposit root.
Eth1DataVoteCache is a struct with 1 queue for looking up eth1 data vote count by deposit root.
HotStateCache is used to store the processed beacon state after finalized check point..
SkipSlotCache is used to store the cached results of processing skip slots in state.ProcessSlots.
StateSummaryCache caches state summary object.