Documentation
¶
Overview ¶
Package chaincmd provides commands for managing blockchain configurations.
Index ¶
Constants ¶
View Source
const ( // DefaultDeployTimeout is the maximum time to wait for chain deployment to complete. // For local networks, this should be fast (<30s). Longer means something is wrong. DefaultDeployTimeout = 30 * time.Second // MaxConsecutiveHealthFailures is the number of consecutive health check failures before failing fast MaxConsecutiveHealthFailures = 10 // LuxEVMName is the canonical name for the Lux EVM LuxEVMName = "Lux EVM" )
Default timeouts for chain deployment
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetworkTarget ¶ added in v1.21.42
type NetworkTarget string
NetworkTarget represents the target network for chain operations
const ( NetworkMainnet NetworkTarget = "mainnet" NetworkTestnet NetworkTarget = "testnet" NetworkDevnet NetworkTarget = "devnet" NetworkCustom NetworkTarget = "custom" )
func GetNetworkTarget ¶ added in v1.21.42
func GetNetworkTarget() NetworkTarget
GetNetworkTarget returns the selected network target based on flags
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package upgradecmd provides commands for managing blockchain upgrades.
|
Package upgradecmd provides commands for managing blockchain upgrades. |
Click to show internal directories.
Click to hide internal directories.