config

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BroadcastConfig

type BroadcastConfig struct {
	MaxRetries int            `mapstructure:"max-retries"`
	MinTimeout time.Duration  `mapstructure:"min-timeout"`
	FeeGranter sdk.AccAddress `mapstructure:"fee_granter"`
}

BroadcastConfig is the configuration for transaction broadcasting

func DefaultBroadcastConfig

func DefaultBroadcastConfig() BroadcastConfig

DefaultBroadcastConfig returns a configurations populated with default values

type ValdConfig

type ValdConfig struct {
	tss.TssConfig   `mapstructure:",squash"`
	BroadcastConfig `mapstructure:",squash"`
	BatchSizeLimit  int `mapstructure:"max_batch_size"`
	BatchThreshold  int `mapstructure:"batch_threshold"`

	EVMConfig []evm.EVMConfig `mapstructure:"axelar_bridge_evm"`
}

ValdConfig contains all necessary vald configurations

func DefaultValdConfig

func DefaultValdConfig() ValdConfig

DefaultValdConfig returns a configurations populated with default values

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL