Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node interface {
// Start starts the SSV node
Start() error
}
Node represents the behavior of SSV node
type Options ¶
type Options struct {
ETHNetwork *core.Network
Beacon *beacon.Beacon
Context context.Context
Logger *zap.Logger
Eth1Client eth1.Client
// genesis epoch
GenesisEpoch uint64 `yaml:"GenesisEpoch" env:"GENESIS_EPOCH" env-description:"Genesis Epoch SSV node will start"`
// max slots for duty to wait
//TODO switch to time frame?
DutyLimit uint64 `yaml:"DutyLimit" env:"DUTY_LIMIT" env-default:"32" env-description:"max slots to wait for duty to start"`
ValidatorOptions validator.ControllerOptions `yaml:"ValidatorOptions"`
}
Options contains options to create the node
Click to show internal directories.
Click to hide internal directories.