beaconcommitteesubscriber

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 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 spec.Epoch,
		accounts map[spec.ValidatorIndex]e2wtypes.Account,
	) (map[spec.Slot]map[spec.CommitteeIndex]*Subscription, error)
}

Service is the beacon committee subscriber service.

type Subscription

type Subscription struct {
	Duty         *api.AttesterDuty
	IsAggregator bool
	Signature    spec.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