Documentation
¶
Index ¶
- Constants
- func CreateValidator(ctx context.Context, cfg CreateValConfig) error
- func Delegate(ctx context.Context, cfg DelegateConfig) error
- func EditVal(ctx context.Context, cfg EditValConfig) error
- func InitNodes(ctx context.Context, cfg InitConfig) error
- func New() *cobra.Command
- type CliError
- type CreateValConfig
- type DelegateConfig
- type EOAConfig
- type EditValConfig
- type InitConfig
Constants ¶
View Source
const (
KeyTypeInsecure keyType = "insecure"
)
Variables ¶
This section is empty.
Functions ¶
func CreateValidator ¶ added in v0.13.0
func CreateValidator(ctx context.Context, cfg CreateValConfig) error
Types ¶
type CliError ¶
CliError is a custom error type for CLI usage that adds a helpful suggestion. It wraps the Msg like a normal error It doesn't support attributes yet.
type CreateValConfig ¶ added in v0.13.0
type DelegateConfig ¶ added in v0.12.0
type EOAConfig ¶ added in v0.12.0
type EOAConfig struct {
Network netconf.ID
ExecutionRPC string
ConsensusRPC string
PrivateKeyFile string
}
EOAConfig defines the required data to sign and submit evm transactions.
type EditValConfig ¶ added in v0.13.0
type EditValConfig struct {
EOAConfig
Moniker string
Identity string
Website string
SecurityContact string
Details string
CommissionRatePercentage int32
MinSelfDelegationEther int64
}
func NoopEditValConfig ¶ added in v0.13.0
func NoopEditValConfig() EditValConfig
NoopEditValConfig returns a default EditValConfig that will not modify existing values.
type InitConfig ¶ added in v0.10.0
type InitConfig struct {
Network netconf.ID
Home string
Moniker string
Clean bool
Archive bool
Debug bool
NodeSnapshot bool
HaloTag string
}
func DefaultInitConfig ¶ added in v0.13.0
func DefaultInitConfig() InitConfig
DefaultInitConfig returns the default configuration for the init command.
func (InitConfig) Verify ¶ added in v0.10.0
func (c InitConfig) Verify() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.