config

package
v0.1.1-experimental.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Template = `` /* 4908-byte string literal not displayed */

Variables

This section is empty.

Functions

func AddBeaconKitFlags

func AddBeaconKitFlags(startCmd *cobra.Command)

AddBeaconKitFlags implements servertypes.ModuleInitFlags interface.

func AddToSFlag

func AddToSFlag(rootCmd *cobra.Command)

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.

func (Config) Template

func (c Config) Template() string

Template returns the configuration template.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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