Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconNode ¶
type BeaconNode struct {
// contains filtered or unexported fields
}
BeaconNode defines a struct that handles the services running a random beacon chain full PoS node. It handles the lifecycle of the entire system and registers services to a service registry.
func New ¶
func New(ctx *cli.Context) (*BeaconNode, error)
New creates a new node instance, sets up configuration options, and registers every required service to the node.
func (*BeaconNode) Close ¶
func (b *BeaconNode) Close()
Close handles graceful shutdown of the system.
func (*BeaconNode) Start ¶
func (b *BeaconNode) Start()
Start the BeaconNode and kicks off every registered service.
Click to show internal directories.
Click to hide internal directories.