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 accounts defines tools to manage an encrypted validator keystore.
|
Package accounts defines tools to manage an encrypted validator keystore. |
Package client defines the entire lifecycle of a validator in eth2 – it is responsible for interacting with a beacon node to determine and perform validator duties.
|
Package client defines the entire lifecycle of a validator in eth2 – it is responsible for interacting with a beacon node to determine and perform validator duties. |
Package db defines a persistent backend for the validator service.
|
Package db defines a persistent backend for the validator service. |
iface
Package iface defines an interface for the validator database.
|
Package iface defines an interface for the validator database. |
Package flags contains all configuration runtime flags for the validator service.
|
Package flags contains all configuration runtime flags for the validator service. |
Package internal is a generated GoMock package.
|
Package internal is a generated GoMock package. |
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.