node

package
v3.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: GPL-3.0 Imports: 55 Imported by: 2

Documentation

Overview

Package node is the main process which handles the lifecycle of the runtime services in a validator client process, gracefully shutting everything down upon close.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuilderSettingsFromFlags added in v3.1.2

func BuilderSettingsFromFlags(cliCtx *cli.Context) (*validatorServiceConfig.BuilderConfig, error)

func Web3SignerConfig added in v3.1.2

func Web3SignerConfig(cliCtx *cli.Context) (*remoteweb3signer.SetupConfig, error)

Types

type ValidatorClient

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

ValidatorClient defines an instance of an Ethereum validator that manages the entire lifecycle of services attached to it participating in proof of stake.

func NewValidatorClient

func NewValidatorClient(cliCtx *cli.Context) (*ValidatorClient, error)

NewValidatorClient creates a new instance of the Prysm validator client.

func (*ValidatorClient) Close

func (c *ValidatorClient) Close()

Close handles graceful shutdown of the system.

func (*ValidatorClient) Start

func (c *ValidatorClient) Start()

Start every service in the validator client.

Jump to

Keyboard shortcuts

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