params

package
v0.2.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CustomConfigTemplate = `` /* 670-byte string literal not displayed */

Variables

This section is empty.

Functions

func DefaultConfigTemplate

func DefaultConfigTemplate() string

Types

type BypassMinFee

type BypassMinFee struct {
	// MsgTypes defines custom message types the operator may set that
	// will bypass minimum fee checks during CheckTx.
	MsgTypes       []string `mapstructure:"msg-types"`
	MsgMaxGasUsage uint64   `mapstructure:"msg-max-gas-usage"`
}

BypassMinFee defines custom that will bypass minimum fee checks during CheckTx.

func DefaultBypassMinFee

func DefaultBypassMinFee() BypassMinFee

DefaultBypassMinFee returns the default BypassMinFee configuration

type Config

type Config struct {
	config.Config `mapstructure:",squash"`

	// BypassMinFeeMsgTypes defines custom that will bypass minimum fee checks during CheckTx.
	BypassMinFee BypassMinFee `mapstructure:"bypass-min-fee"`
}

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig returns server's default configuration.

type EncodingConfig

type EncodingConfig struct {
	InterfaceRegistry types.InterfaceRegistry
	Codec             codec.Codec
	TxConfig          client.TxConfig
	Amino             *codec.LegacyAmino
}

EncodingConfig specifies the concrete encoding types to use for a given app. This is provided for compatibility between protobuf and amino implementations.

Jump to

Keyboard shortcuts

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