Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duty ¶
type Duty struct { // Slot is the slot of the attestation aggregation; required for obtaining the aggregate. Slot spec.Slot // Attestation data root is the root of the attestation to be aggregated; required for obtaining the aggregate. AttestationDataRoot spec.Root // ValidatorIndex is the index of the validator carrying out the aggregation; reuqired for submitting the aggregate. ValidatorIndex spec.ValidatorIndex // SlotSignature is the signature of the slot by the validator carrying out the aggregation; reuqired for submitting the aggregate. SlotSignature spec.BLSSignature // Attestation is the attestation from the validator that is part of the related to the aggregate. // Required for Prysm non-spec GRPC method. Attestation *spec.Attestation // Account is the account carrying out the aggregation. // Required for Prysm non-spec GRPC method. Account e2wtypes.Account }
Duty contains information about an attestation aggregation duty.
type IsAggregatorProvider ¶
type IsAggregatorProvider interface { // IsAggregator returns true if the given validator is an aggregator for the given committee at the given slot. IsAggregator(ctx context.Context, validatorIndex spec.ValidatorIndex, committeeIndex spec.CommitteeIndex, slot spec.Slot, committeeSize uint64) (bool, spec.BLSSignature, error) }
IsAggregatorProvider provides information about if a validator is an aggregator.
Click to show internal directories.
Click to hide internal directories.