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. |
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. |
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. |
Click to show internal directories.
Click to hide internal directories.