validator

command
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: GPL-3.0 Imports: 25 Imported by: 0

README

Prysmatic Labs Validator Client Implementation

This is the main project folder for a validator client implementation of eth2 written in Go by Prysmatic Labs. A validator client attaches to a running beacon node in order to perform proposer/attester responsibilities for eth.

You can also read our main README and join our active chat room on Discord.

Discord

To further understand the responsibilities of an eth2 validator, we recommend reading the official specification here

Documentation

Overview

Package main defines a validator client, a critical actor in eth2 which manages a keystore of private keys, connects to a beacon node to receive assignments, and submits blocks/attestations as needed.

This code was adapted from https://github.com/ethereum/go-ethereum/blob/master/cmd/geth/usage.go

Directories

Path Synopsis
Package v2 defines a new model for accounts management in Prysm, using best practices for user security, UX, and extensibility via different wallet types including HD wallets, imported (non-HD) wallets, and remote-signing capable configurations.
Package v2 defines a new model for accounts management in Prysm, using best practices for user security, UX, and extensibility via different wallet types including HD wallets, imported (non-HD) wallets, and remote-signing capable configurations.
Package client represents a gRPC polling-based implementation of an eth2 validator client.
Package client represents a gRPC polling-based implementation of an eth2 validator client.
db
iface
Package iface defines an interface for the validator database.
Package iface defines an interface for the validator database.
kv
Package kv defines a persistent backend for the validator service.
Package kv defines a persistent backend for the validator service.
Package flags contains all configuration runtime flags for the validator service.
Package flags contains all configuration runtime flags for the validator service.
imported
Package imported defines an implementation of an on-disk, EIP-2335 keystore.json approach towards defining validator accounts in Prysm.
Package imported defines an implementation of an on-disk, EIP-2335 keystore.json approach towards defining validator accounts in Prysm.
remote
Package remote defines an implementation of an on-disk, EIP-2335 keystore.json approach towards defining validator accounts in Prysm.
Package remote defines an implementation of an on-disk, EIP-2335 keystore.json approach towards defining validator accounts in Prysm.
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.
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.
rpc
local/standard-protection-format/format
Package interchangeformat defines methods to parse, import, and export slashing protection data from a standard JSON file according to EIP-3076 https://eips.ethereum.org/EIPS/eip-3076.
Package interchangeformat defines methods to parse, import, and export slashing protection data from a standard JSON file according to EIP-3076 https://eips.ethereum.org/EIPS/eip-3076.
Package web is the service to serve the Prysm web UI.
Package web is the service to serve the Prysm web UI.

Jump to

Keyboard shortcuts

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