validators

package
v0.0.0-...-76c5325 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttestationHeadCorrect

func AttestationHeadCorrect(ctx context.Context,
	headersCache *util.BeaconBlockHeaderCache,
	attestation *phase0.Attestation,
) (
	bool,
	error,
)

AttestationHeadCorrect returns true if the given attestation had the correct head.

func AttestationTargetCorrect

func AttestationTargetCorrect(ctx context.Context,
	headersCache *util.BeaconBlockHeaderCache,
	attestation *phase0.Attestation,
) (
	bool,
	error,
)

AttestationTargetCorrect returns true if the given attestation had the correct target.

func EpochSummary

func EpochSummary(validatorsStr []string, stateID string, epoch string) (*validatorSummary, error)

func Info

func Info(validatorPubKey string) error

func Init

func Init() error

func Perf

func Perf(validators []string, stateID string, start string, end string, num string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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