Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Flags ¶
type Flags struct { // Assertions AssertionsEnabled bool // Version Version bool // TX fees TxFee uint // IP PublicIP string DynamicUpdateDuration string DynamicPublicIP string // Network ID NetworkID string // Crypto SignatureVerificationEnabled bool // APIs APIAdminEnabled bool APIIPCsEnabled bool APIKeystoreEnabled bool APIMetricsEnabled bool APIHealthEnabled bool APIInfoEnabled bool // HTTP HTTPHost string HTTPPort uint HTTPTLSEnabled bool HTTPTLSCertFile string HTTPTLSKeyFile string // Bootstrapping BootstrapIPs string BootstrapIDs string BootstrapBeaconConnectionTimeout string // Build BuildDir string // DB DBDir string // Logging LogLevel string LogDir string LogDisplayLevel string LogDisplayHighlight string // Consensus SnowAvalancheBatchSize int SnowAvalancheNumParents int SnowSampleSize int SnowQuorumSize int SnowVirtuousCommitThreshold int SnowRogueCommitThreshold int SnowConcurrentRepolls int MinDelegatorStake int ConsensusShutdownTimeout string ConsensusGossipFrequency string MinDelegationFee int MinValidatorStake int MaxStakeDuration string MaxValidatorStake int // Staking StakingEnabled bool StakeMintingPeriod string StakingPort uint StakingDisabledWeight int StakingTLSKeyFile string StakingTLSCertFile string // Auth APIAuthRequired bool APIAuthPasswordFileKey string MinStakeDuration string // Whitelisted Subnets WhitelistedSubnets string // Config ConfigFile string ChainConfigDir string // IPCS IPCSChainIDs string IPCSPath string // File Descriptor Limit FDLimit int // Benchlist BenchlistFailThreshold int BenchlistMinFailingDuration string BenchlistPeerSummaryEnabled bool BenchlistDuration string // Network Timeout NetworkInitialTimeout string NetworkMinimumTimeout string NetworkMaximumTimeout string NetworkHealthMaxSendFailRateKey float64 NetworkHealthMaxPortionSendQueueFillKey float64 NetworkHealthMaxTimeSinceMsgSentKey string NetworkHealthMaxTimeSinceMsgReceivedKey string NetworkHealthMinConnPeers int NetworkTimeoutCoefficient int NetworkTimeoutHalflife string // Peer List Gossiping NetworkPeerListGossipFrequency string NetworkPeerListGossipSize int NetworkPeerListSize int // Uptime Requirement UptimeRequirement float64 // Retry RetryBootstrap bool // Health HealthCheckAveragerHalflifeKey string HealthCheckFreqKey string // Router RouterHealthMaxOutstandingRequestsKey int RouterHealthMaxDropRateKey float64 IndexEnabled bool PluginModeEnabled bool }
Flags represents available CLI flags when starting a node
Click to show internal directories.
Click to hide internal directories.