Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GindicesFlag ¶ added in v0.2.0
func (*GindicesFlag) Set ¶ added in v0.2.0
func (p *GindicesFlag) Set(v string) error
func (*GindicesFlag) String ¶ added in v0.2.0
func (p *GindicesFlag) String() string
func (*GindicesFlag) Type ¶ added in v0.2.0
func (p *GindicesFlag) Type() string
type LegacyConfig ¶ added in v0.2.0
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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (c *SpecOptions) Default()
type StateInput ¶ added in v0.2.0
type StateInput string
func (*StateInput) Read ¶ added in v0.2.0
func (p *StateInput) Read(spec *common.Spec, phase string) (common.BeaconState, error)
func (*StateInput) Set ¶ added in v0.2.0
func (p *StateInput) Set(v string) error
func (*StateInput) String ¶ added in v0.2.0
func (p *StateInput) String() string
func (*StateInput) Type ¶ added in v0.2.0
func (p *StateInput) Type() string
type StateOutput ¶ added in v0.2.0
type StateOutput string
func (*StateOutput) Set ¶ added in v0.2.0
func (p *StateOutput) Set(v string) error
func (*StateOutput) String ¶ added in v0.2.0
func (p *StateOutput) String() string
func (*StateOutput) Type ¶ added in v0.2.0
func (p *StateOutput) Type() string
func (*StateOutput) Write ¶ added in v0.2.0
func (p *StateOutput) Write(spec *common.Spec, obj common.BeaconState) error
Click to show internal directories.
Click to hide internal directories.