Documentation
¶
Index ¶
Constants ¶
View Source
const EnvPrefix string = "RELAYER"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NeutronChainConfig ¶
type NeutronChainConfig struct { RPCAddr string `required:"true" split_words:"true"` RESTAddr string `required:"true" split_words:"true"` HomeDir string `required:"true" split_words:"true"` SignKeyName string `required:"true" split_words:"true"` Timeout time.Duration `split_words:"true" default:"10s"` GasPrices string `required:"true" split_words:"true"` GasLimit uint64 `split_words:"true" default:"0"` GasAdjustment float64 `required:"true" split_words:"true"` ConnectionID string `required:"true" split_words:"true"` Debug bool `split_words:"true" default:"false"` KeyringBackend string `required:"true" split_words:"true"` OutputFormat string `split_words:"true" default:"json"` SignModeStr string `split_words:"true" default:"direct"` Denom string `required:"true" split_words:"true"` MaxGasPrice float64 `required:"true" split_words:"true"` GasPriceMultiplier float64 `required:"true" split_words:"true"` }
type NeutronQueryRelayerConfig ¶
type NeutronQueryRelayerConfig struct { NeutronChain *NeutronChainConfig `split_words:"true"` TargetChain *TargetChainConfig `split_words:"true"` Registry *registry.RegistryConfig `split_words:"true"` AllowTxQueries bool `required:"true" split_words:"true"` AllowKVCallbacks bool `required:"true" split_words:"true"` MinKvUpdatePeriod uint64 `split_words:"true" default:"0"` StoragePath string `required:"true" split_words:"true"` CheckSubmittedTxStatusDelay time.Duration `split_words:"true" default:"10s"` QueriesTaskQueueCapacity int `split_words:"true" default:"10000"` InitialTxSearchOffset uint64 `split_words:"true" default:"0"` ListenAddr string `split_words:"true" default:"127.0.0.1:9999"` IgnoreErrorsRegex string `split_words:"true" default:"(execute wasm contract failed|failed to build tx query string)"` }
NeutronQueryRelayerConfig describes configuration of the app
func NewNeutronQueryRelayerConfig ¶
func NewNeutronQueryRelayerConfig() (NeutronQueryRelayerConfig, error)
Click to show internal directories.
Click to hide internal directories.