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 phase0.Slot // Attestation data root is the root of the attestation to be aggregated; required for obtaining the aggregate. AttestationDataRoot phase0.Root // ValidatorIndex is the index of the validator carrying out the aggregation; reuqired for submitting the aggregate. ValidatorIndex phase0.ValidatorIndex // SlotSignature is the signature of the slot by the validator carrying out the aggregation; reuqired for submitting the aggregate. SlotSignature phase0.BLSSignature }
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 phase0.ValidatorIndex, committeeIndex phase0.CommitteeIndex, slot phase0.Slot, committeeSize uint64) (bool, phase0.BLSSignature, error) }
IsAggregatorProvider provides information about if a validator is an aggregator.
Click to show internal directories.
Click to hide internal directories.