aggregation

package
v1.9.7-0...-acf8c2f Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: LGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIsSuperset = errors.New("attestation is superset of existing attestation")

Functions

This section is empty.

Types

type AggregationPool

type AggregationPool interface {
	// AddAttestation adds a single attestation to the pool.
	AddAttestation(att *solid.Attestation) error
	GetAggregatationByRoot(root common.Hash) *solid.Attestation
	GetAggregatationByRootAndCommittee(root common.Hash, committeeIndex uint64) *solid.Attestation
}

func NewAggregationPool

func NewAggregationPool(
	ctx context.Context,
	beaconConfig *clparams.BeaconChainConfig,
	netConfig *clparams.NetworkConfig,
	ethClock eth_clock.EthereumClock,
) AggregationPool

Directories

Path Synopsis
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.

Jump to

Keyboard shortcuts

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