Documentation ¶
Index ¶
- Constants
- func GetDepositData(validatorKey *eth2types.BLSPrivateKey, withdrawalCredentials common.Hash, ...) (eth2.DepositData, common.Hash, error)
- func GetSignedExitMessage(validatorKey *eth2types.BLSPrivateKey, validatorIndex uint64, epoch uint64, ...) (types.ValidatorSignature, error)
- func RestartValidator(cfg *config.RocketPoolConfig, bc beacon.Client, log *log.ColorLogger, ...) error
- func StopValidator(cfg *config.RocketPoolConfig, bc beacon.Client, log *log.ColorLogger, ...) error
Constants ¶
View Source
const BeaconContainerSuffix = "_eth2"
View Source
const DepositAmount = 16000000000 // gwei
Deposit settings
View Source
const ValidatorContainerSuffix = "_validator"
Settings
Variables ¶
This section is empty.
Functions ¶
func GetDepositData ¶
func GetDepositData(validatorKey *eth2types.BLSPrivateKey, withdrawalCredentials common.Hash, eth2Config beacon.Eth2Config) (eth2.DepositData, common.Hash, error)
Get deposit data & root for a given validator key and withdrawal credentials
func GetSignedExitMessage ¶ added in v0.0.6
func GetSignedExitMessage(validatorKey *eth2types.BLSPrivateKey, validatorIndex uint64, epoch uint64, signatureDomain []byte) (types.ValidatorSignature, error)
Get a voluntary exit message signature for a given validator key and index
func RestartValidator ¶ added in v1.5.0
func RestartValidator(cfg *config.RocketPoolConfig, bc beacon.Client, log *log.ColorLogger, d *client.Client) error
Restart validator process
func StopValidator ¶ added in v1.5.0
func StopValidator(cfg *config.RocketPoolConfig, bc beacon.Client, log *log.ColorLogger, d *client.Client) error
Stops the validator process
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.