mock

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct{}

Service is a mock sync committee aggregator.

func New

func New() *Service

New creates a new mock sync committee aggregator.

func (*Service) Aggregate

func (s *Service) Aggregate(ctx context.Context, details interface{})

Aggregate carries out aggregation for a slot and committee.

func (*Service) SetBeaconBlockRoot

func (s *Service) SetBeaconBlockRoot(slot phase0.Slot, root phase0.Root)

SetBeaconBlockRoot sets the beacon block root used for a given slot.

Jump to

Keyboard shortcuts

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