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 ¶ added in v0.5.0
func CliCmd(p ui.Prompter, actions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func ClientsCmd ¶ added in v0.5.0
func ConsensusSubCmd ¶ added in v1.0.0
func ConsensusSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
func DependenciesCommand ¶ added in v1.0.0
func DependenciesCommand(depsMgr dependencies.DependenciesManager) *cobra.Command
func DownCmd ¶ added in v0.5.0
func DownCmd(cmdRunner commands.CommandRunner, a actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func ExecutionSubCmd ¶ added in v1.0.0
func ExecutionSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
func FullNodeSubCmd ¶ added in v1.0.0
func FullNodeSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
func GenerateCmd ¶ added in v1.0.0
func GenerateCmd(sedgeAction actions.SedgeActions) *cobra.Command
func ImportKeysCmd ¶ added in v1.0.0
func ImportKeysCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func LogsCmd ¶ added in v0.5.0
func LogsCmd(cmdRunner commands.CommandRunner, sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func MevBoostSubCmd ¶ added in v1.0.0
func MevBoostSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
func NetworksCmd ¶ added in v0.5.0
func RunCmd ¶ added in v1.0.0
func RunCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func ShowCmd ¶ added in v1.2.0
func ShowCmd(cmdRunner commands.CommandRunner, sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func SlashingExportCmd ¶ added in v1.0.0
func SlashingExportCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func SlashingImportCmd ¶ added in v1.0.0
func SlashingImportCmd(sedgeActions actions.SedgeActions, depsMgr dependencies.DependenciesManager) *cobra.Command
func ValidatorSubCmd ¶ added in v1.0.0
func ValidatorSubCmd(sedgeAction actions.SedgeActions) *cobra.Command
func VersionCmd ¶ added in v0.5.0
Types ¶
type CliCmdOptions ¶ added in v1.0.0
type CliCmdOptions struct {
// contains filtered or unexported fields
}
type CustomFlags ¶ added in v1.0.0
type CustomFlags struct {
// contains filtered or unexported fields
}
type GenCmdFlags ¶ added in v1.0.0
type GenCmdFlags struct { CustomFlags // contains filtered or unexported fields }
GenCmdFlags is a struct that holds the flags of the generate command
type KeysCmdFlags ¶ added in v0.5.0
type KeysCmdFlags struct {
// contains filtered or unexported fields
}