rp

package
v1.5.0-a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2022 License: GPL-3.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

View Source
const MinipoolPubkeyBatchSize = 50

Settings

Variables

This section is empty.

Functions

func GetMinipoolValidators

func GetMinipoolValidators(rp *rocketpool.RocketPool, bc beacon.Client, addresses []common.Address, callOpts *bind.CallOpts, validatorStatusOpts *beacon.ValidatorStatusOptions) (map[common.Address]beacon.ValidatorStatus, error)

Get minipool validator statuses

func GetNodeValidatorIndices added in v1.2.0

func GetNodeValidatorIndices(rp *rocketpool.RocketPool, ec rocketpool.ExecutionClient, bc beacon.Client, nodeAddress common.Address) ([]uint64, error)

func IsFirstRun added in v1.3.0

func IsFirstRun(configDir string) bool

Checks if this is the first run of the configurator after an install

func IsMergeUpdateDeployed added in v1.5.0

func IsMergeUpdateDeployed(rp *rocketpool.RocketPool) (bool, error)

Check if the contract upgrades for Merge support (Rocket Pool v1.1) have been deployed

func LoadConfigFromFile added in v1.3.0

func LoadConfigFromFile(path string) (*config.RocketPoolConfig, error)

Loads a config without updating it if it exists

func RemoveUpgradeFlagFile added in v1.3.1

func RemoveUpgradeFlagFile(configDir string) error

Remove the upgrade flag file

func SaveConfig added in v1.3.0

func SaveConfig(cfg *config.RocketPoolConfig, path string) error

Saves a config and removes the upgrade flag file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL