-
Notifications
You must be signed in to change notification settings - Fork 647
/
keys.go
124 lines (122 loc) · 8.04 KB
/
keys.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package config
const (
FetchOnlyKey = "fetch-only"
ConfigFileKey = "config-file"
VersionKey = "version"
GenesisConfigFileKey = "genesis"
NetworkNameKey = "network-id"
TxFeeKey = "tx-fee"
CreationTxFeeKey = "creation-tx-fee"
UptimeRequirementKey = "uptime-requirement"
MinValidatorStakeKey = "min-validator-stake"
MaxValidatorStakeKey = "max-validator-stake"
MinDelegatorStakeKey = "min-delegator-stake"
MinDelegatorFeeKey = "min-delegation-fee"
MinStakeDurationKey = "min-stake-duration"
MaxStakeDurationKey = "max-stake-duration"
StakeMintingPeriodKey = "stake-minting-period"
AssertionsEnabledKey = "assertions-enabled"
SignatureVerificationEnabledKey = "signature-verification-enabled"
DBEnabledKey = "db-enabled"
DBPathKey = "db-dir"
PublicIPKey = "public-ip"
DynamicUpdateDurationKey = "dynamic-update-duration"
DynamicPublicIPResolverKey = "dynamic-public-ip"
ConnMeterResetDurationKey = "conn-meter-reset-duration"
ConnMeterMaxConnsKey = "conn-meter-max-conns"
OutboundConnectionThrottlingRps = "outbound-connection-throttling-rps"
OutboundConnectionTimeout = "outbound-connection-timeout"
HTTPHostKey = "http-host"
HTTPPortKey = "http-port"
HTTPSEnabledKey = "http-tls-enabled"
HTTPSKeyFileKey = "http-tls-key-file"
HTTPSCertFileKey = "http-tls-cert-file"
HTTPAllowedOrigins = "http-allowed-origins"
APIAuthRequiredKey = "api-auth-required"
APIAuthPasswordFileKey = "api-auth-password-file" // #nosec G101
BootstrapIPsKey = "bootstrap-ips"
BootstrapIDsKey = "bootstrap-ids"
StakingPortKey = "staking-port"
StakingEnabledKey = "staking-enabled"
StakingEphemeralCertEnabledKey = "staking-ephemeral-cert-enabled"
StakingKeyPathKey = "staking-tls-key-file"
StakingCertPathKey = "staking-tls-cert-file"
StakingDisabledWeightKey = "staking-disabled-weight"
MaxNonStakerPendingMsgsKey = "max-non-staker-pending-msgs"
StakerMsgReservedKey = "staker-msg-reserved"
StakerCPUReservedKey = "staker-cpu-reserved"
MaxPendingMsgsKey = "max-pending-msgs"
NetworkInitialTimeoutKey = "network-initial-timeout"
NetworkMinimumTimeoutKey = "network-minimum-timeout"
NetworkMaximumTimeoutKey = "network-maximum-timeout"
NetworkTimeoutHalflifeKey = "network-timeout-halflife"
NetworkTimeoutCoefficientKey = "network-timeout-coefficient"
NetworkHealthMinPeersKey = "network-health-min-conn-peers"
NetworkHealthMaxTimeSinceMsgReceivedKey = "network-health-max-time-since-msg-received"
NetworkHealthMaxTimeSinceMsgSentKey = "network-health-max-time-since-msg-sent"
NetworkHealthMaxPortionSendQueueFillKey = "network-health-max-portion-send-queue-full"
NetworkHealthMaxSendFailRateKey = "network-health-max-send-fail-rate"
NetworkHealthMaxOutstandingDurationKey = "network-health-max-outstanding-request-duration"
NetworkPeerListSizeKey = "network-peer-list-size"
NetworkPeerListGossipSizeKey = "network-peer-list-gossip-size"
NetworkPeerListGossipFreqKey = "network-peer-list-gossip-frequency"
SendQueueSizeKey = "send-queue-size"
BenchlistFailThresholdKey = "benchlist-fail-threshold"
BenchlistPeerSummaryEnabledKey = "benchlist-peer-summary-enabled"
BenchlistDurationKey = "benchlist-duration"
BenchlistMinFailingDurationKey = "benchlist-min-failing-duration"
BuildDirKey = "build-dir"
LogsDirKey = "log-dir"
LogLevelKey = "log-level"
LogDisplayLevelKey = "log-display-level"
LogDisplayHighlightKey = "log-display-highlight"
SnowSampleSizeKey = "snow-sample-size"
SnowQuorumSizeKey = "snow-quorum-size"
SnowVirtuousCommitThresholdKey = "snow-virtuous-commit-threshold"
SnowRogueCommitThresholdKey = "snow-rogue-commit-threshold"
SnowAvalancheNumParentsKey = "snow-avalanche-num-parents"
SnowAvalancheBatchSizeKey = "snow-avalanche-batch-size"
SnowConcurrentRepollsKey = "snow-concurrent-repolls"
SnowOptimalProcessingKey = "snow-optimal-processing"
SnowMaxProcessingKey = "snow-max-processing"
SnowMaxTimeProcessingKey = "snow-max-time-processing"
SnowEpochFirstTransition = "snow-epoch-first-transition"
SnowEpochDuration = "snow-epoch-duration"
WhitelistedSubnetsKey = "whitelisted-subnets"
AdminAPIEnabledKey = "api-admin-enabled"
InfoAPIEnabledKey = "api-info-enabled"
KeystoreAPIEnabledKey = "api-keystore-enabled"
MetricsAPIEnabledKey = "api-metrics-enabled"
HealthAPIEnabledKey = "api-health-enabled"
IpcAPIEnabledKey = "api-ipcs-enabled"
IpcsChainIDsKey = "ipcs-chain-ids"
IpcsPathKey = "ipcs-path"
MeterVMsEnabledKey = "meter-vms-enabled"
ConsensusGossipFrequencyKey = "consensus-gossip-frequency"
ConsensusGossipAcceptedFrontierSizeKey = "consensus-accepted-frontier-gossip-size"
ConsensusGossipOnAcceptSizeKey = "consensus-on-accept-gossip-size"
ConsensusShutdownTimeoutKey = "consensus-shutdown-timeout"
FdLimitKey = "fd-limit"
CorethConfigKey = "coreth-config"
IndexEnabledKey = "index-enabled"
IndexAllowIncompleteKey = "index-allow-incomplete"
RouterHealthMaxDropRateKey = "router-health-max-drop-rate"
RouterHealthMaxOutstandingRequestsKey = "router-health-max-outstanding-requests"
HealthCheckFreqKey = "health-check-frequency"
HealthCheckAveragerHalflifeKey = "health-check-averager-halflife"
RetryBootstrapKey = "bootstrap-retry-enabled"
RetryBootstrapMaxAttemptsKey = "bootstrap-retry-max-attempts"
PeerAliasTimeoutKey = "peer-alias-timeout"
PluginModeKey = "plugin-mode-enabled"
BootstrapBeaconConnectionTimeoutKey = "bootstrap-beacon-connection-timeout"
BootstrapMaxTimeGetAncestorsKey = "boostrap-max-time-get-ancestors"
BootstrapMultiputMaxContainersSentKey = "bootstrap-multiput-max-containers-sent"
BootstrapMultiputMaxContainersReceivedKey = "bootstrap-multiput-max-containers-received"
ChainConfigDirKey = "chain-config-dir"
ProfileDirKey = "profile-dir"
ProfileContinuousEnabledKey = "profile-continuous-enabled"
ProfileContinuousFreqKey = "profile-continuous-freq"
ProfileContinuousMaxFilesKey = "profile-continuous-max-files"
)