Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerOptions ¶
type ControllerOptions struct {
Logger *zap.Logger
Ctx context.Context
BeaconClient beacon.Beacon
EthNetwork core.Network
ValidatorController validator.IController
GenesisEpoch uint64
DutyLimit uint64
}
ControllerOptions holds the needed dependencies
type DutyController ¶
type DutyController interface {
Start()
}
DutyController interface for dispatching duties execution according to slot ticker
func NewDutyController ¶
func NewDutyController(opts *ControllerOptions) DutyController
NewDutyController creates a new instance of DutyController
Click to show internal directories.
Click to hide internal directories.