mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 03:51:29 +00:00
6fe814c5aa
* proposal detector * comment fixes * comment fixes * raul feedback * fix todo * gaz Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
13 lines
328 B
Go
13 lines
328 B
Go
package iface
|
|
|
|
import (
|
|
"context"
|
|
|
|
ethpb "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1"
|
|
)
|
|
|
|
// ProposalsDetector defines an interface for different implementations.
|
|
type ProposalsDetector interface {
|
|
DetectDoublePropose(ctx context.Context, incomingBlk *ethpb.SignedBeaconBlockHeader) (*ethpb.ProposerSlashing, error)
|
|
}
|