mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
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)
|
||
|
}
|