ethereum

package
v0.0.204 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: GPL-3.0 Imports: 10 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 v0.0.168

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

func NewBeaconNode added in v0.0.168

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

func (*BeaconNode) Duties added in v0.0.168

func (b *BeaconNode) Duties() *services.DutiesService

func (*BeaconNode) Metadata added in v0.0.168

func (b *BeaconNode) Metadata() *services.MetadataService

func (*BeaconNode) Node added in v0.0.168

func (b *BeaconNode) Node() beacon.Node

func (*BeaconNode) OnReady added in v0.0.168

func (b *BeaconNode) OnReady(_ context.Context, callback func(ctx context.Context) error)

func (*BeaconNode) Start added in v0.0.168

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

func (*BeaconNode) Synced added in v0.0.168

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

type Config

type Config struct {
	Network string `yaml:"network"`
}

func (*Config) Validate

func (c *Config) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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