flags

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WithTendermint = "with-tendermint"
	Address        = "address"
	Transport      = "transport"
	TraceStore     = "trace-store"
	CPUProfile     = "cpu-profile"
)

Tendermint full-node start flags

View Source
const (
	GRPCEnable     = "grpc.enable"
	GRPCAddress    = "grpc.address"
	GRPCWebEnable  = "grpc-web.enable"
	GRPCWebAddress = "grpc-web.address"
)

GRPC-related flags.

View Source
const (
	RPCEnable         = "api.enable"
	EnabledUnsafeCors = "api.enabled-unsafe-cors"
)

Cosmos API flags

View Source
const (
	JSONRPCEnable          = "json-rpc.enable"
	JSONRPCAPI             = "json-rpc.api"
	JSONRPCAddress         = "json-rpc.address"
	JSONWsAddress          = "json-rpc.ws-address"
	JSONRPCGasCap          = "json-rpc.gas-cap"
	JSONRPCEVMTimeout      = "json-rpc.evm-timeout"
	JSONRPCTxFeeCap        = "json-rpc.txfee-cap"
	JSONRPCFilterCap       = "json-rpc.filter-cap"
	JSONRPCLogsCap         = "json-rpc.logs-cap"
	JSONRPCBlockRangeCap   = "json-rpc.block-range-cap"
	JSONRPCHTTPTimeout     = "json-rpc.http-timeout"
	JSONRPCHTTPIdleTimeout = "json-rpc.http-idle-timeout"
)

JSON-RPC flags

View Source
const (
	EVMTracer         = "evm.tracer"
	EVMMaxTxGasWanted = "evm.max-tx-gas-wanted"
)

EVM flags

View Source
const (
	TLSCertPath = "tls.certificate-path"
	TLSKeyPath  = "tls.key-path"
)

TLS flags

Variables

This section is empty.

Functions

func AddTxFlags

func AddTxFlags(cmd *cobra.Command) (*cobra.Command, error)

AddTxFlags adds common flags for commands to post tx

Types

This section is empty.

Jump to

Keyboard shortcuts

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