node

package
v1.0.0-alpha.23 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: GPL-3.0 Imports: 29 Imported by: 10

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 ExtractPublicKeysFromKeymanager

func ExtractPublicKeysFromKeymanager(cliCtx *cli.Context, keyManagerV1 v1.KeyManager, keyManagerV2 v2.IKeymanager) ([][48]byte, error)

ExtractPublicKeysFromKeymanager extracts only the public keys from the specified key manager.

Types

type ValidatorClient

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

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

func NewValidatorClient

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

NewValidatorClient creates a new, Prysm validator client.

func (*ValidatorClient) Close

func (s *ValidatorClient) Close()

Close handles graceful shutdown of the system.

func (*ValidatorClient) Start

func (s *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