Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpanDetector ¶
type SpanDetector interface { // Read functions. DetectSlashingsForAttestation( ctx context.Context, att *ethpb.IndexedAttestation, ) ([]*types.DetectionResult, error) // Write functions. UpdateSpans(ctx context.Context, att *ethpb.IndexedAttestation) error }
SpanDetector defines an interface for Spanners to follow to allow mocks.
Click to show internal directories.
Click to hide internal directories.