Documentation ¶
Overview ¶
Package iface defines an interface for a double-proposal detector struct.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProposalsDetector ¶
type ProposalsDetector interface { DetectDoublePropose(ctx context.Context, incomingBlk *ethpb.SignedBeaconBlockHeader) (*ethpb.ProposerSlashing, error) DetectDoubleProposeNoUpdate(ctx context.Context, incomingBlk *ethpb.BeaconBlockHeader) (bool, error) }
ProposalsDetector defines an interface for different implementations.
Click to show internal directories.
Click to hide internal directories.