ethereum

package
v1.0.29 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeaconNode added in v1.0.24

type BeaconNode struct {
	// contains filtered or unexported fields
}

func NewBeaconNode added in v1.0.24

func NewBeaconNode(name string, log logrus.FieldLogger, config *Config) (*BeaconNode, error)

func (*BeaconNode) GetActiveValidators added in v1.0.24

func (b *BeaconNode) GetActiveValidators(ctx context.Context) (map[phase0.ValidatorIndex]*apiv1.Validator, error)

func (*BeaconNode) Start added in v1.0.24

func (b *BeaconNode) Start(ctx context.Context) error

func (*BeaconNode) Wallclock added in v1.0.24

type Config

type Config struct {
	Network           string            `yaml:"network"`
	BeaconNodeURL     string            `yaml:"beaconNodeUrl"`
	BeaconNodeHeaders map[string]string `yaml:"beaconNodeHeaders"`
}

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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