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 |
---|---|
accounts
|
|
v1
Package accounts defines tools to manage an encrypted validator keystore.
|
Package accounts defines tools to manage an encrypted validator keystore. |
v2
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 derived, 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 derived, 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. |
keymanager
|
|
v2/direct
Package direct defines an implementation of an on-disk, EIP-2335 keystore.json approach towards defining validator accounts in Prysm.
|
Package direct defines an implementation of an on-disk, EIP-2335 keystore.json approach towards defining validator accounts in Prysm. |
v2/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. |
Click to show internal directories.
Click to hide internal directories.