Documentation ¶
Index ¶
Constants ¶
View Source
const Template = `` /* 4908-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func AddBeaconKitFlags ¶
AddBeaconKitFlags implements servertypes.ModuleInitFlags interface.
func AddToSFlag ¶
AddToSFlag adds the terms of service flag to the given command.
Types ¶
type Config ¶
type Config struct { // ABCI is the configuration for ABCI related settings. ABCI abci.Config `mapstructure:"abci"` // Beacon is the configuration for the fork epochs. Beacon params.BeaconChainConfig `mapstructure:"beacon-chain"` // Builder is the configuration for the local build payload timeout. Builder builderconfig.Config `mapstructure:"builder"` // Engine is the configuration for the execution client. Engine engineclient.Config `mapstructure:"engine"` // KZG is the configuration for the KZG blob verifier. KZG kzg.Config `mapstructure:"kzg"` }
Config is the main configuration struct for the BeaconKit chain.
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns the default configuration for a BeaconKit chain.
func MustReadConfigFromAppOpts ¶
func MustReadConfigFromAppOpts(opts servertypes.AppOptions) *Config
MustReadConfigFromAppOpts reads the configuration options from the given application options.
func ReadConfigFromAppOpts ¶
func ReadConfigFromAppOpts(opts servertypes.AppOptions) (*Config, error)
ReadConfigFromAppOpts reads the configuration options from the given application options.
Click to show internal directories.
Click to hide internal directories.