Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttestedEpochForValidator ¶
type AttestedEpochForValidator struct { ValidatorIndex types.ValidatorIndex Epoch types.Epoch }
AttestedEpochForValidator encapsulates a previously attested epoch for a validator index.
type AttesterDoubleVote ¶
type AttesterDoubleVote struct { Target types.Epoch ValidatorIndex types.ValidatorIndex PrevAttestationWrapper *IndexedAttestationWrapper AttestationWrapper *IndexedAttestationWrapper }
AttesterDoubleVote represents a double vote instance which is a slashable event for attesters.
type ChunkKind ¶
type ChunkKind uint
ChunkKind to differentiate what kind of span we are working with for slashing detection, either min or max span.
type DoubleBlockProposal ¶
type DoubleBlockProposal struct { Slot types.Slot ValidatorIndex types.ValidatorIndex PrevBeaconBlockWrapper *SignedBlockHeaderWrapper BeaconBlockWrapper *SignedBlockHeaderWrapper }
DoubleBlockProposal containing an incoming and an existing proposal's signing root.
type IndexedAttestationWrapper ¶
type IndexedAttestationWrapper struct { IndexedAttestation *ethpb.IndexedAttestation SigningRoot [32]byte }
IndexedAttestationWrapper contains an indexed attestation with its signing root to reduce duplicated computation.
type SignedBlockHeaderWrapper ¶
type SignedBlockHeaderWrapper struct { SignedBeaconBlockHeader *ethpb.SignedBeaconBlockHeader SigningRoot [32]byte }
SignedBlockHeaderWrapper contains an signed beacon block header with its signing root to reduce duplicated computation.
Click to show internal directories.
Click to hide internal directories.