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 ¶
This section is empty.
Types ¶
type ValidatorClient ¶
type ValidatorClient struct {
// contains filtered or unexported fields
}
ValidatorClient defines an instance of a sharding validator that manages the entire lifecycle of services attached to it participating in Ethereum Serenity.
func NewValidatorClient ¶
func NewValidatorClient(cliCtx *cli.Context) (*ValidatorClient, error)
NewValidatorClient creates a new, Ethereum Serenity 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.
Click to show internal directories.
Click to hide internal directories.