synccommitteeaggregator

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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 sync committee aggregation; required for obtaining the aggregate.
	Slot phase0.Slot

	// ValidatorIndices are the validators that aggregate for this slot.
	ValidatorIndices []phase0.ValidatorIndex

	// SelectionProofs are the selection proofs of the subcommittees for which each validator aggregates.
	SelectionProofs map[phase0.ValidatorIndex]map[uint64]phase0.BLSSignature

	// Accounts is used to sign the sync committee contribution and proof.
	Accounts map[phase0.ValidatorIndex]e2wtypes.Account
}

Duty contains information about a sync committee aggregation duty.

type Service

type Service interface {
	// SetBeaconBlockRoot sets the beacon block root used for a given slot.
	SetBeaconBlockRoot(slot phase0.Slot, root phase0.Root)

	// Aggregate carries out aggregation for a slot and committee.
	Aggregate(ctx context.Context, details interface{})
}

Service is the sync committee aggregation service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL