Documentation ¶
Overview ¶
Copyright 2022 Nethermind
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func CliCmd(p ui.Prompter, actions actions.SedgeActions, ...) *cobra.Command
- func ClientsCmd() *cobra.Command
- func ConsensusSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
- func DependenciesCommand(depsMgr dependencies.DependenciesManager) *cobra.Command
- func DownCmd(cmdRunner commands.CommandRunner, a actions.SedgeActions, ...) *cobra.Command
- func ExecutionSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
- func FullNodeSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
- func GenerateCmd(sedgeAction actions.SedgeActions) *cobra.Command
- func ImportKeysCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
- func KeysCmd(cmdRunner commands.CommandRunner, p ui.Prompter) *cobra.Command
- func LogsCmd(cmdRunner commands.CommandRunner, sedgeActions actions.SedgeActions, ...) *cobra.Command
- func MevBoostSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
- func NetworksCmd() *cobra.Command
- func RootCmd() *cobra.Command
- func RunCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
- func ShowCmd(cmdRunner commands.CommandRunner, sedgeActions actions.SedgeActions, ...) *cobra.Command
- func SlashingExportCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
- func SlashingImportCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
- func ValidatorSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
- func VersionCmd() *cobra.Command
- type CliCmdOptions
- type CustomFlags
- type GenCmdFlags
- type KeysCmdFlags
Constants ¶
const ( NetworkMainnet = "mainnet" NetworkGoerli = "goerli" NetworkSepolia = "sepolia" NetworkGnosis = "gnosis" NetworkChiado = "chiado" NetworkHolesky = "holesky" NetworkCustom = "custom" NodeTypeFullNode = "full-node" NodeTypeExecution = "execution" NodeTypeConsensus = "consensus" NodeTypeValidator = "validator" Randomize = "randomize" SourceTypeExisting = "existing" SourceTypeCreate = "create" SourceTypeSkip = "skip" SourceTypeRandom = "random" )
Variables ¶
var ErrCancelled = errors.New("cancelled by the user")
var ErrCustomFlagsUsedWithoutCustomNetwork = errors.New("custom flags used without --network custom")
var ErrInvalidNumberOfArguments = errors.New("invalid number of arguments")
var ErrMissingDependencies = errors.New("missing dependencies")
Functions ¶
func CliCmd ¶
func CliCmd(p ui.Prompter, actions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func ClientsCmd ¶
func ConsensusSubCmd ¶
func ConsensusSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
func DependenciesCommand ¶
func DependenciesCommand(depsMgr dependencies.DependenciesManager) *cobra.Command
func DownCmd ¶
func DownCmd(cmdRunner commands.CommandRunner, a actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func ExecutionSubCmd ¶
func ExecutionSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
func FullNodeSubCmd ¶
func FullNodeSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
func GenerateCmd ¶
func GenerateCmd(sedgeAction actions.SedgeActions) *cobra.Command
func ImportKeysCmd ¶
func ImportKeysCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func LogsCmd ¶
func LogsCmd(cmdRunner commands.CommandRunner, sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func MevBoostSubCmd ¶
func MevBoostSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
func NetworksCmd ¶
func RunCmd ¶
func RunCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func ShowCmd ¶
func ShowCmd(cmdRunner commands.CommandRunner, sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func SlashingExportCmd ¶
func SlashingExportCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func SlashingImportCmd ¶
func SlashingImportCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func ValidatorSubCmd ¶
func ValidatorSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
func VersionCmd ¶
Types ¶
type CliCmdOptions ¶
type CliCmdOptions struct {
// contains filtered or unexported fields
}
type CustomFlags ¶
type CustomFlags struct {
// contains filtered or unexported fields
}
type GenCmdFlags ¶
type GenCmdFlags struct { CustomFlags // contains filtered or unexported fields }
GenCmdFlags is a struct that holds the flags of the generate command
type KeysCmdFlags ¶
type KeysCmdFlags struct {
// contains filtered or unexported fields
}