Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlasherNode ¶
type SlasherNode struct {
// contains filtered or unexported fields
}
SlasherNode defines a struct that handles the services running a slashing detector for eth2. It handles the lifecycle of the entire system and registers services to a service registry.
func NewSlasherNode ¶
func NewSlasherNode(ctx *cli.Context) (*SlasherNode, error)
NewSlasherNode creates a new node instance, sets up configuration options, and registers every required service.
func (*SlasherNode) Close ¶
func (s *SlasherNode) Close()
Close handles graceful shutdown of the system.
func (*SlasherNode) Start ¶
func (s *SlasherNode) Start()
Start the slasher and kick off every registered service.
Click to show internal directories.
Click to hide internal directories.