Versions in this module Expand all Collapse all v0 v0.0.4 Jan 15, 2025 v0.0.1 Jan 15, 2025 Changes in this version + type ValidatorDB interface + AttestationHistoryForPubKey func(ctx context.Context, pubKey [fieldparams.BLSPubkeyLength]byte) ([]*kv.AttestationRecord, error) + AttestedPublicKeys func(ctx context.Context) ([][fieldparams.BLSPubkeyLength]byte, error) + CheckSlashableAttestation func(ctx context.Context, pubKey [fieldparams.BLSPubkeyLength]byte, ...) (kv.SlashingKind, error) + ClearDB func() error + DatabasePath func() string + EIPImportBlacklistedPublicKeys func(ctx context.Context) ([][fieldparams.BLSPubkeyLength]byte, error) + GenesisValidatorsRoot func(ctx context.Context) ([]byte, error) + GraffitiOrderedIndex func(ctx context.Context, fileHash [32]byte) (uint64, error) + HighestSignedProposal func(ctx context.Context, publicKey [fieldparams.BLSPubkeyLength]byte) (primitives.Slot, bool, error) + LowestSignedProposal func(ctx context.Context, publicKey [fieldparams.BLSPubkeyLength]byte) (primitives.Slot, bool, error) + LowestSignedSourceEpoch func(ctx context.Context, publicKey [fieldparams.BLSPubkeyLength]byte) (primitives.Epoch, bool, error) + LowestSignedTargetEpoch func(ctx context.Context, publicKey [fieldparams.BLSPubkeyLength]byte) (primitives.Epoch, bool, error) + ProposalHistoryForPubKey func(ctx context.Context, publicKey [fieldparams.BLSPubkeyLength]byte) ([]*kv.Proposal, error) + ProposalHistoryForSlot func(ctx context.Context, publicKey [fieldparams.BLSPubkeyLength]byte, ...) ([32]byte, bool, error) + ProposedPublicKeys func(ctx context.Context) ([][fieldparams.BLSPubkeyLength]byte, error) + ProposerSettings func(context.Context) (*validatorServiceConfig.ProposerSettings, error) + ProposerSettingsExists func(ctx context.Context) (bool, error) + RunDownMigrations func(ctx context.Context) error + RunUpMigrations func(ctx context.Context) error + SaveAttestationForPubKey func(ctx context.Context, pubKey [fieldparams.BLSPubkeyLength]byte, ...) error + SaveAttestationsForPubKey func(ctx context.Context, pubKey [fieldparams.BLSPubkeyLength]byte, ...) error + SaveEIPImportBlacklistedPublicKeys func(ctx context.Context, publicKeys [][fieldparams.BLSPubkeyLength]byte) error + SaveGenesisValidatorsRoot func(ctx context.Context, genValRoot []byte) error + SaveGraffitiOrderedIndex func(ctx context.Context, index uint64) error + SaveProposalHistoryForSlot func(ctx context.Context, pubKey [fieldparams.BLSPubkeyLength]byte, ...) error + SaveProposerSettings func(ctx context.Context, settings *validatorServiceConfig.ProposerSettings) error + SigningRootAtTargetEpoch func(ctx context.Context, publicKey [fieldparams.BLSPubkeyLength]byte, ...) ([32]byte, error) + UpdateProposerSettingsDefault func(context.Context, *validatorServiceConfig.ProposerOption) error + UpdateProposerSettingsForPubkey func(context.Context, [fieldparams.BLSPubkeyLength]byte, ...) error + UpdatePublicKeysBuckets func(publicKeys [][fieldparams.BLSPubkeyLength]byte) error