beaconcommitteesubscriber

package
v1.5.0-rc5 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package beaconcommitteesubscriber is a package that manages subscriptions for beacon committees.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// Subscribe subscribes to beacon committees for a given epoch.
	Subscribe(ctx context.Context,
		epoch phase0.Epoch,
		accounts map[phase0.ValidatorIndex]e2wtypes.Account,
	) (map[phase0.Slot]map[phase0.CommitteeIndex]*Subscription, error)
}

Service is the beacon committee subscriber service.

type Subscription

type Subscription struct {
	Duty         *api.AttesterDuty
	IsAggregator bool
	Signature    phase0.BLSSignature
}

Subscription holds details of the committees to which we are subscribing.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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