mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Cleanup Attester DB Protection Files and Add Back Save Lowest Epochs Functionality (#8232)
* cleanup for att protection * rename to deprecated * rem old item * imports
This commit is contained in:
@@ -35,8 +35,6 @@ type ValidatorDB interface {
|
||||
// Attester protection related methods.
|
||||
LowestSignedTargetEpoch(ctx context.Context, publicKey [48]byte) (uint64, error)
|
||||
LowestSignedSourceEpoch(ctx context.Context, publicKey [48]byte) (uint64, error)
|
||||
SaveLowestSignedTargetEpoch(ctx context.Context, publicKey [48]byte, epoch uint64) error
|
||||
SaveLowestSignedSourceEpoch(ctx context.Context, publicKey [48]byte, epoch uint64) error
|
||||
AttestedPublicKeys(ctx context.Context) ([][48]byte, error)
|
||||
CheckSlashableAttestation(
|
||||
ctx context.Context, pubKey [48]byte, signingRoot [32]byte, att *ethpb.IndexedAttestation,
|
||||
|
||||
Reference in New Issue
Block a user