Versions in this module Expand all Collapse all v0 v0.2.0 May 11, 2026 Changes in this version + type EpochAuthorizedVotersCache struct + func NewEpochAuthorizedVotersCache() *EpochAuthorizedVotersCache + func (cache *EpochAuthorizedVotersCache) Entries() map[solana.PublicKey][]solana.PublicKey + func (cache *EpochAuthorizedVotersCache) IsAuthorizedVoter(voteAcct solana.PublicKey, pubkey solana.PublicKey) bool + func (cache *EpochAuthorizedVotersCache) Len() int + func (cache *EpochAuthorizedVotersCache) PutEntry(voteAcct solana.PublicKey, authorizedVoter solana.PublicKey) + type EpochStakesCache struct + func NewEpochStakesCache() *EpochStakesCache + func (cache *EpochStakesCache) ClearEpochStakes(epoch uint64) + func (cache *EpochStakesCache) DeserializeAndLoadEpoch(data []byte) (uint64, error) + func (cache *EpochStakesCache) EpochStakes(epoch uint64) map[solana.PublicKey]uint64 + func (cache *EpochStakesCache) EpochStakesAccts(epoch uint64) map[solana.PublicKey]*VoteAccount + func (cache *EpochStakesCache) GetAllEpochs() []uint64 + func (cache *EpochStakesCache) HasEpochStakes(epoch uint64) bool + func (cache *EpochStakesCache) PutEntry(epoch uint64, pubkey solana.PublicKey, stake uint64, voteAcct *VoteAccount) + func (cache *EpochStakesCache) PutTotalEpochStake(epoch uint64, totalStake uint64) + func (cache *EpochStakesCache) SerializeEpoch(epoch uint64) ([]byte, error) + func (cache *EpochStakesCache) TotalStake(epoch uint64) uint64 + type PersistedEpochStakes struct + Epoch uint64 + Stakes map[string]uint64 + TotalStake uint64 + VoteAccts map[string]*VoteAccountJSON + type VoteAccount struct + Executable byte + Lamports uint64 + LastTimestampSlot uint64 + LastTimestampTs int64 + NodePubkey solana.PublicKey + Owner solana.PublicKey + RentEpoch uint64 + type VoteAccountJSON struct + Executable byte + Lamports uint64 + LastTimestampSlot uint64 + LastTimestampTs int64 + NodePubkey string + Owner string + RentEpoch uint64 v0.1.0-alpha.1 Jan 15, 2026