Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protector ¶
type Protector interface { CheckAttestationSafety(ctx context.Context, attestation *eth.IndexedAttestation) bool CommitAttestation(ctx context.Context, attestation *eth.IndexedAttestation) bool CheckBlockSafety(ctx context.Context, blockHeader *eth.BeaconBlockHeader) bool CommitBlock(ctx context.Context, blockHeader *eth.SignedBeaconBlockHeader) (bool, error) Status() error }
Protector interface defines the methods of the service that provides slashing protection.
Click to show internal directories.
Click to hide internal directories.