Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node interface { Start(logger *zap.Logger) error StartEth1(logger *zap.Logger, syncOffset *eth1.SyncOffset) error }
Node represents the behavior of SSV node
type Options ¶
type Options struct { // NetworkName is the network name of this node NetworkName string `yaml:"Network" env:"NETWORK" env-default:"mainnet" env-description:"Network is the network of this node"` Network networkconfig.NetworkConfig BeaconNode beaconprotocol.BeaconNode Eth1Client eth1.Client P2PNetwork network.P2PNetwork Context context.Context DB basedb.IDb ValidatorController validator.Controller DutyExec duties.DutyExecutor // max slots for duty to wait 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"` ForkVersion forksprotocol.ForkVersion WS api.WebSocketServer WsAPIPort int }
Options contains options to create the node
Directories ¶
Path | Synopsis |
---|---|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.