Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GindicesFlag ¶
func (*GindicesFlag) Set ¶
func (p *GindicesFlag) Set(v string) error
func (*GindicesFlag) String ¶
func (p *GindicesFlag) String() string
func (*GindicesFlag) Type ¶
func (p *GindicesFlag) Type() string
type LegacyConfig ¶
type LegacyConfig struct {
CONFIG_NAME string `yaml:"CONFIG_NAME"`
common.Phase0Preset `yaml:",inline"`
common.AltairPreset `yaml:",inline"`
common.MergePreset `yaml:",inline"`
common.ShardingPreset `yaml:",inline"`
common.Config `yaml:",inline"`
}
type SpecOptions ¶
type SpecOptions struct {
LegacyConfig string `ask:"--legacy-config" help:"Eth2 legacy configuration (combined config and presets), name or path to YAML"`
LegacyConfigChanged bool `changed:"legacy-config"`
Config string `ask:"--config" help:"Eth2 spec configuration, name or path to YAML"`
Phase0Preset string `ask:"--preset-phase0" help:"Eth2 phase0 spec preset, name or path to YAML"`
AltairPreset string `ask:"--preset-altair" help:"Eth2 altair spec preset, name or path to YAML"`
MergePreset string `ask:"--preset-merge" help:"Eth2 merge spec preset, name or path to YAML"`
ShardingPreset string `ask:"--preset-sharding" help:"Eth2 sharding spec preset, name or path to YAML"`
}
func (*SpecOptions) Default ¶
func (c *SpecOptions) Default()
type StateInput ¶
type StateInput string
func (*StateInput) Read ¶
func (p *StateInput) Read(spec *common.Spec, phase string) (common.BeaconState, error)
func (*StateInput) Set ¶
func (p *StateInput) Set(v string) error
func (*StateInput) String ¶
func (p *StateInput) String() string
func (*StateInput) Type ¶
func (p *StateInput) Type() string
type StateOutput ¶
type StateOutput string
func (*StateOutput) Set ¶
func (p *StateOutput) Set(v string) error
func (*StateOutput) String ¶
func (p *StateOutput) String() string
func (*StateOutput) Type ¶
func (p *StateOutput) Type() string
func (*StateOutput) Write ¶
func (p *StateOutput) Write(spec *common.Spec, obj common.BeaconState) error
Click to show internal directories.
Click to hide internal directories.