validator_service_config

package
v1.4.2-0...-e33850b Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeeRecipientConfig

type FeeRecipientConfig struct {
	ProposeConfig map[[field_params.BLSPubkeyLength]byte]*FeeRecipientOptions
	DefaultConfig *FeeRecipientOptions
}

FeeRecipientConfig is a Prysm internal representation of the fee recipient config on the validator client. FeeRecipientFileConfig maps to FeeRecipientConfig on import through the CLI.

type FeeRecipientFileConfig

type FeeRecipientFileConfig struct {
	ProposeConfig map[string]*FeeRecipientFileOptions `json:"proposer_config"`
	DefaultConfig *FeeRecipientFileOptions            `json:"default_config"`
}

FeeRecipientFileConfig is the struct representation of the JSON config file set in the validator through the CLI. ProposeConfig is the map of validator address to fee recipient options all in hex format. DefaultConfig is the default fee recipient address for all validators unless otherwise specified in the propose config.required.

type FeeRecipientFileOptions

type FeeRecipientFileOptions struct {
	FeeRecipient string `json:"fee_recipient"`
}

FeeRecipientFileOptions is the struct representation of the JSON config file set in the validator through the CLI. FeeRecipient is set to an eth address in hex string format with 0x prefix.

type FeeRecipientOptions

type FeeRecipientOptions struct {
	FeeRecipient common.Address
}

FeeRecipientOptions is a Prysm internal representation of the FeeRecipientFileOptions on the validator client in bytes format instead of hex.

Jump to

Keyboard shortcuts

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