common

package
v0.0.0-...-1329066 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultGasPriceMultiplier is the default gas price multiplier for all chains
	DefaultGasPriceMultiplier = 1.0

	// EVMOutboundGasPriceMultiplier is the default gas price multiplier for EVM-chain outbond txs
	EVMOutboundGasPriceMultiplier = 1.2

	// BTCOutboundGasPriceMultiplier is the default gas price multiplier for BTC outbond txs
	BTCOutboundGasPriceMultiplier = 2.0

	// RPCStatusCheckInterval is the interval to check RPC status, 1 minute
	RPCStatusCheckInterval = time.Minute
)
View Source
const (
	// EnvEnableLiveTest is the environment variable to enable zetaclient live tests
	EnvEnableLiveTest = "ENABLE_LIVE_TEST"

	// EnvBtcRPCMainnet is the environment variable to enable mainnet for bitcoin rpc
	EnvBtcRPCMainnet = "BTC_RPC_MAINNET"

	// EnvBtcRPCTestnet is the environment variable to enable testnet for bitcoin rpc
	EnvBtcRPCTestnet = "BTC_RPC_TESTNET"
)

Variables

This section is empty.

Functions

func LiveTestEnabled

func LiveTestEnabled() bool

LiveTestEnabled returns true if live tests are enabled

Types

This section is empty.

Jump to

Keyboard shortcuts

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