Documentation ¶
Index ¶
- Constants
- func AddBackupRelayerFlag(cmd *cobra.Command)
- func AddBackupRelayerWaitTimeFlag(cmd *cobra.Command)
- func AddBootstrappersFlag(cmd *cobra.Command)
- func AddCoreGRPCFlag(cmd *cobra.Command)
- func AddCoreRPCFlag(cmd *cobra.Command)
- func AddEVMAccAddressFlag(cmd *cobra.Command)
- func AddEVMChainIDFlag(cmd *cobra.Command)
- func AddEVMContractAddressFlag(cmd *cobra.Command)
- func AddEVMGasLimitFlag(cmd *cobra.Command)
- func AddEVMPassphraseFlag(cmd *cobra.Command)
- func AddEVMRPCFlag(cmd *cobra.Command)
- func AddEVMRetryTimeoutFlag(cmd *cobra.Command)
- func AddGRPCInsecureFlag(cmd *cobra.Command)
- func AddHomeFlag(cmd *cobra.Command, serviceName string, defaultHomeDir string)
- func AddLogFormatFlag(cmd *cobra.Command)
- func AddLogLevelFlag(cmd *cobra.Command)
- func AddP2PListenAddressFlag(cmd *cobra.Command)
- func AddP2PNicknameFlag(cmd *cobra.Command)
- func AddStartingNonceFlag(cmd *cobra.Command)
- func DefaultServicePath(serviceName string) (string, error)
- func EnsureConfigPath(configPath string) error
- func GetBackupRelayerFlag(cmd *cobra.Command) (bool, bool, error)
- func GetBackupRelayerWaitTimeFlag(cmd *cobra.Command) (uint64, bool, error)
- func GetBootstrappersFlag(cmd *cobra.Command) (string, bool, error)
- func GetCoreGRPCFlag(cmd *cobra.Command) (string, bool, error)
- func GetCoreRPCFlag(cmd *cobra.Command) (string, bool, error)
- func GetEVMAccAddressFlag(cmd *cobra.Command) (string, bool, error)
- func GetEVMChainIDFlag(cmd *cobra.Command) (uint64, bool, error)
- func GetEVMContractAddressFlag(cmd *cobra.Command) (string, bool, error)
- func GetEVMGasLimitFlag(cmd *cobra.Command) (uint64, bool, error)
- func GetEVMPassphraseFlag(cmd *cobra.Command) (string, bool, error)
- func GetEVMRPCFlag(cmd *cobra.Command) (string, bool, error)
- func GetEVMRetryTimeoutFlag(cmd *cobra.Command) (uint64, bool, error)
- func GetGRPCInsecureFlag(cmd *cobra.Command) (bool, bool, error)
- func GetHomeDirectory(cmd *cobra.Command, service string) (string, error)
- func GetHomeFlag(cmd *cobra.Command) (string, bool, error)
- func GetLogFormatFlag(cmd *cobra.Command) (string, bool, error)
- func GetLogLevelFlag(cmd *cobra.Command) (string, bool, error)
- func GetLogger(level string, format string) (tmlog.Logger, error)
- func GetP2PListenAddressFlag(cmd *cobra.Command) (string, bool, error)
- func GetP2PNicknameFlag(cmd *cobra.Command) (string, bool, error)
- func GetStartingNonceFlag(cmd *cobra.Command) (string, bool, error)
- func ValidateEVMAddress(addr string) error
- type Config
Constants ¶
View Source
const ( FlagHome = cli.HomeFlag FlagEVMPassphrase = "evm.passphrase" )
View Source
const ( FlagBootstrappers = "p2p.bootstrappers" FlagP2PListenAddress = "p2p.listen-addr" FlagP2PNickname = "p2p.nickname" FlagGRPCInsecure = "grpc.insecure" FlagEVMAccAddress = "evm.account" FlagEVMChainID = "evm.chain-id" FlagEVMRPC = "evm.rpc" FlagEVMGasLimit = "evm.gas-limit" FlagEVMContractAddress = "evm.contract-address" FlagEVMRetryTimeout = "evm.retry-timeout" FlagCoreGRPC = "core.grpc" FlagCoreRPC = "core.rpc" FlagStartingNonce = "starting-nonce" FlagLogLevel = "log.level" FlagLogFormat = "log.format" FlagBackupRelayer = "relayer.backup" FlagBackupRelayerWaitTime = "relayer.wait-time" )
Variables ¶
This section is empty.
Functions ¶
func AddBackupRelayerFlag ¶ added in v1.1.0
func AddBackupRelayerWaitTimeFlag ¶ added in v1.1.0
func AddBootstrappersFlag ¶
func AddCoreGRPCFlag ¶
func AddCoreRPCFlag ¶
func AddEVMAccAddressFlag ¶
func AddEVMChainIDFlag ¶
func AddEVMGasLimitFlag ¶
func AddEVMPassphraseFlag ¶
func AddEVMRPCFlag ¶
func AddEVMRetryTimeoutFlag ¶ added in v1.1.0
func AddGRPCInsecureFlag ¶
func AddLogFormatFlag ¶
func AddLogLevelFlag ¶
func AddP2PListenAddressFlag ¶
func AddP2PNicknameFlag ¶
func AddStartingNonceFlag ¶
func DefaultServicePath ¶
DefaultServicePath constructs the default Blobstream store path for the provided service. It tries to get the home directory from an environment variable called `<service_name_in_upper_case>_HOME`. If not set, then reverts to using the default user home directory and returning `~/.<service_name_in_lower_case>`.
func EnsureConfigPath ¶
EnsureConfigPath creates a directory configPath if it does not exist
func GetBackupRelayerFlag ¶ added in v1.1.0
func GetBackupRelayerWaitTimeFlag ¶ added in v1.1.0
func GetEVMRetryTimeoutFlag ¶ added in v1.1.0
func GetP2PListenAddressFlag ¶
func ValidateEVMAddress ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.