beaconcommitteesubscriber

package
v1.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 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