Documentation
¶
Index ¶
- Constants
- type CommitteesCmd
- type ConvertCmd
- type ConvertObjCmd
- type ConvertPhaseCmd
- type DiffCmd
- type DiffObjCmd
- type DiffPhaseCmd
- type MetaCmd
- type MetaPhaseCmd
- type NoOpExecutionEngine
- type PrettyCmd
- type PrettyObjCmd
- type PrettyPhaseCmd
- type ProofCmd
- type ProofObjCmd
- type ProofPhaseCmd
- type ProposersCmd
- type RootCmd
- type RootObjCmd
- type RootPhaseCmd
- type SyncCommitteesCmd
- type TransitionBlockSubCmd
- type TransitionBlocksCmd
- type TransitionCmd
- type TransitionEpochCmd
- type TransitionEpochSubCmd
- type TransitionSlotsCmd
- type TransitionSubCmd
- type TransitionSubRouterCmd
- type TreeCmd
- type TreeObjCmd
- type TreePhaseCmd
- type VersionCmd
Constants ¶
View Source
const Version = "v0.2.9"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitteesCmd ¶
type CommitteesCmd struct {
Phase string
configs.SpecOptions `ask:"."`
State util.StateInput `ask:"<state>" help:"BeaconState, prefix with format, empty path for STDIN"`
}
func (*CommitteesCmd) Help ¶
func (c *CommitteesCmd) Help() string
type ConvertCmd ¶
type ConvertCmd struct{}
func (*ConvertCmd) Cmd ¶
func (c *ConvertCmd) Cmd(route string) (cmd interface{}, err error)
func (*ConvertCmd) Help ¶
func (c *ConvertCmd) Help() string
func (*ConvertCmd) Routes ¶
func (c *ConvertCmd) Routes() []string
type ConvertObjCmd ¶
type ConvertObjCmd struct {
PhaseName string
TypeName string
Type spec_types.SpecType
configs.SpecOptions `ask:"."`
Input util.ObjInput `ask:"<input>" help:"Input path, prefix with format, empty path for STDIN"`
Output util.ObjOutput `ask:"<output>" help:"Output path, prefix with format, empty path for STDOUT"`
}
type ConvertPhaseCmd ¶
type ConvertPhaseCmd struct {
PhaseName string
Types map[string]spec_types.SpecType
}
func (*ConvertPhaseCmd) Cmd ¶
func (c *ConvertPhaseCmd) Cmd(route string) (cmd interface{}, err error)
func (*ConvertPhaseCmd) Routes ¶
func (c *ConvertPhaseCmd) Routes() []string
type DiffObjCmd ¶
type DiffObjCmd struct {
PhaseName string
TypeName string
Type spec_types.SpecType
configs.SpecOptions `ask:"."`
InputA util.ObjInput `ask:"<a>" help:"Input A, prefix with format, empty path for STDIN"`
InputB util.ObjInput `ask:"<b>" help:"Input B, prefix with format, empty path for STDIN"`
}
type DiffPhaseCmd ¶
type DiffPhaseCmd struct {
PhaseName string
Types map[string]spec_types.SpecType
}
func (*DiffPhaseCmd) Cmd ¶
func (c *DiffPhaseCmd) Cmd(route string) (cmd interface{}, err error)
func (*DiffPhaseCmd) Routes ¶
func (c *DiffPhaseCmd) Routes() []string
type MetaPhaseCmd ¶
type MetaPhaseCmd struct {
Phase string
}
func (*MetaPhaseCmd) Cmd ¶
func (c *MetaPhaseCmd) Cmd(route string) (cmd interface{}, err error)
func (*MetaPhaseCmd) Help ¶
func (c *MetaPhaseCmd) Help() string
func (*MetaPhaseCmd) Routes ¶
func (c *MetaPhaseCmd) Routes() []string
type NoOpExecutionEngine ¶
type NoOpExecutionEngine struct{}
func (*NoOpExecutionEngine) NewBlock ¶
func (m *NoOpExecutionEngine) NewBlock(ctx context.Context, executionPayload *common.ExecutionPayload) (success bool, err error)
type PrettyObjCmd ¶ added in v0.2.2
type PrettyObjCmd struct {
PhaseName string
TypeName string
Type spec_types.SpecType
configs.SpecOptions `ask:"."`
Input util.ObjInput `ask:"<input>" help:"Input path, prefix with format, empty path for STDIN"`
Output string `ask:"[output]" help:"Output path, empty path for STDOUT"`
}
type PrettyPhaseCmd ¶ added in v0.2.2
type PrettyPhaseCmd struct {
PhaseName string
Types map[string]spec_types.SpecType
}
func (*PrettyPhaseCmd) Cmd ¶ added in v0.2.2
func (c *PrettyPhaseCmd) Cmd(route string) (cmd interface{}, err error)
func (*PrettyPhaseCmd) Routes ¶ added in v0.2.2
func (c *PrettyPhaseCmd) Routes() []string
type ProofObjCmd ¶
type ProofObjCmd struct {
PhaseName string
TypeName string
Type spec_types.SpecType
configs.SpecOptions `ask:"."`
Input util.ObjInput `ask:"<input>" help:"Input, prefix with format, empty path for STDIN"`
Gindices util.GindicesFlag `ask:"--gindices" help:"Gindices of leaf values to put in multi-proof"`
}
func (*ProofObjCmd) Help ¶
func (c *ProofObjCmd) Help() string
type ProofPhaseCmd ¶
type ProofPhaseCmd struct {
PhaseName string
Types map[string]spec_types.SpecType
}
func (*ProofPhaseCmd) Cmd ¶
func (c *ProofPhaseCmd) Cmd(route string) (cmd interface{}, err error)
func (*ProofPhaseCmd) Help ¶
func (c *ProofPhaseCmd) Help() string
func (*ProofPhaseCmd) Routes ¶
func (c *ProofPhaseCmd) Routes() []string
type ProposersCmd ¶
type ProposersCmd struct {
Phase string
configs.SpecOptions `ask:"."`
State util.StateInput `ask:"<state>" help:"BeaconState, prefix with format, empty path for STDIN"`
}
func (*ProposersCmd) Help ¶
func (c *ProposersCmd) Help() string
type RootObjCmd ¶
type RootObjCmd struct {
PhaseName string
TypeName string
Type spec_types.SpecType
configs.SpecOptions `ask:"."`
Input util.ObjInput `ask:"<input>" help:"Input, prefix with format, empty path for STDIN"`
}
func (*RootObjCmd) Help ¶
func (c *RootObjCmd) Help() string
type RootPhaseCmd ¶
type RootPhaseCmd struct {
PhaseName string
Types map[string]spec_types.SpecType
}
func (*RootPhaseCmd) Cmd ¶
func (c *RootPhaseCmd) Cmd(route string) (cmd interface{}, err error)
func (*RootPhaseCmd) Help ¶
func (c *RootPhaseCmd) Help() string
func (*RootPhaseCmd) Routes ¶
func (c *RootPhaseCmd) Routes() []string
type SyncCommitteesCmd ¶
type SyncCommitteesCmd struct {
Phase string
configs.SpecOptions `ask:"."`
State util.StateInput `ask:"<state>" help:"BeaconState, prefix with format, empty path for STDIN"`
}
func (*SyncCommitteesCmd) Help ¶
func (c *SyncCommitteesCmd) Help() string
type TransitionBlockSubCmd ¶
type TransitionBlockSubCmd struct {
PreFork string
Transition string
Timeout time.Duration `ask:"--timeout" help:"Timeout, e.g. 100ms"`
configs.SpecOptions `ask:"."`
Pre util.StateInput `ask:"--pre" help:"Pre-state"`
Op util.ObjInput `ask:"<op>" help:"Block operation input"`
Post util.StateOutput `ask:"--post" help:"Post-state"`
}
func (*TransitionBlockSubCmd) Help ¶
func (c *TransitionBlockSubCmd) Help() string
type TransitionBlocksCmd ¶
type TransitionBlocksCmd struct {
PreFork string
VerifyStateRoot bool `ask:"--verify-state-root" help:"Verify the state root of each block"`
Timeout time.Duration `ask:"--timeout" help:"Timeout, e.g. 100ms"`
configs.SpecOptions `ask:"."`
Pre util.StateInput `ask:"--pre" help:"Pre-state"`
Post util.StateOutput `ask:"--post" help:"Post-state"`
}
func (*TransitionBlocksCmd) Help ¶
func (c *TransitionBlocksCmd) Help() string
type TransitionCmd ¶
type TransitionCmd struct{}
func (*TransitionCmd) Cmd ¶
func (c *TransitionCmd) Cmd(route string) (cmd interface{}, err error)
func (*TransitionCmd) Help ¶
func (c *TransitionCmd) Help() string
func (*TransitionCmd) Routes ¶
func (c *TransitionCmd) Routes() []string
type TransitionEpochCmd ¶ added in v0.2.9
type TransitionEpochCmd struct {
PreFork string
Timeout time.Duration `ask:"--timeout" help:"Timeout, e.g. 100ms"`
configs.SpecOptions `ask:"."`
Pre util.StateInput `ask:"--pre" help:"Pre-state"`
Post util.StateOutput `ask:"--post" help:"Post-state"`
}
func (*TransitionEpochCmd) Help ¶ added in v0.2.9
func (c *TransitionEpochCmd) Help() string
type TransitionEpochSubCmd ¶
type TransitionEpochSubCmd struct {
PreFork string
Transition string
Timeout time.Duration `ask:"--timeout" help:"Timeout, e.g. 100ms"`
configs.SpecOptions `ask:"."`
Pre util.StateInput `ask:"--pre" help:"Pre-state"`
Post util.StateOutput `ask:"--post" help:"Post-state"`
}
func (*TransitionEpochSubCmd) Help ¶
func (c *TransitionEpochSubCmd) Help() string
type TransitionSlotsCmd ¶
type TransitionSlotsCmd struct {
PreFork string
Slots uint64 `ask:"<slots>" help:"Number of slots to process"`
Timeout time.Duration `ask:"--timeout" help:"Timeout, e.g. 100ms"`
configs.SpecOptions `ask:"."`
Pre util.StateInput `ask:"--pre" help:"Pre-state"`
Post util.StateOutput `ask:"--post" help:"Post-state"`
}
func (*TransitionSlotsCmd) Help ¶
func (c *TransitionSlotsCmd) Help() string
type TransitionSubCmd ¶
type TransitionSubCmd struct {
PreFork string
}
func (*TransitionSubCmd) Cmd ¶
func (c *TransitionSubCmd) Cmd(route string) (cmd interface{}, err error)
func (*TransitionSubCmd) Help ¶
func (c *TransitionSubCmd) Help() string
func (*TransitionSubCmd) Routes ¶
func (c *TransitionSubCmd) Routes() []string
type TransitionSubRouterCmd ¶
type TransitionSubRouterCmd struct {
PreFork string
}
func (*TransitionSubRouterCmd) Cmd ¶
func (c *TransitionSubRouterCmd) Cmd(route string) (cmd interface{}, err error)
func (*TransitionSubRouterCmd) Help ¶
func (c *TransitionSubRouterCmd) Help() string
func (*TransitionSubRouterCmd) Routes ¶ added in v0.2.2
func (c *TransitionSubRouterCmd) Routes() []string
type TreeObjCmd ¶
type TreeObjCmd struct {
PhaseName string
TypeName string
Type spec_types.SpecType
configs.SpecOptions `ask:"."`
Input util.ObjInput `ask:"<input>" help:"Input, prefix with format, empty path for STDIN"`
}
func (*TreeObjCmd) Help ¶
func (c *TreeObjCmd) Help() string
type TreePhaseCmd ¶
type TreePhaseCmd struct {
PhaseName string
Types map[string]spec_types.SpecType
}
func (*TreePhaseCmd) Cmd ¶
func (c *TreePhaseCmd) Cmd(route string) (cmd interface{}, err error)
func (*TreePhaseCmd) Help ¶
func (c *TreePhaseCmd) Help() string
func (*TreePhaseCmd) Routes ¶
func (c *TreePhaseCmd) Routes() []string
type VersionCmd ¶
type VersionCmd struct {
}
func (*VersionCmd) Help ¶
func (c *VersionCmd) Help() string
Click to show internal directories.
Click to hide internal directories.