Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,320 Lines • ▼ Show 20 Lines | argsman.AddArg("-avalanchepeerreplacementcooldown", | ||||
"in seconds (default: %u)", | "in seconds (default: %u)", | ||||
AVALANCHE_DEFAULT_PEER_REPLACEMENT_COOLDOWN), | AVALANCHE_DEFAULT_PEER_REPLACEMENT_COOLDOWN), | ||||
ArgsManager::ALLOW_INT, OptionsCategory::AVALANCHE); | ArgsManager::ALLOW_INT, OptionsCategory::AVALANCHE); | ||||
argsman.AddArg("-enableavalancheproofreplacement", | argsman.AddArg("-enableavalancheproofreplacement", | ||||
strprintf("Enable avalanche proof replacement (default: %u)", | strprintf("Enable avalanche proof replacement (default: %u)", | ||||
AVALANCHE_DEFAULT_PROOF_REPLACEMENT_ENABLED), | AVALANCHE_DEFAULT_PROOF_REPLACEMENT_ENABLED), | ||||
ArgsManager::ALLOW_BOOL, OptionsCategory::AVALANCHE); | ArgsManager::ALLOW_BOOL, OptionsCategory::AVALANCHE); | ||||
argsman.AddArg( | argsman.AddArg( | ||||
"-avaquerytimeout", | |||||
strprintf( | |||||
"Number of milliseconds before timing out a poll (default: %u)", | |||||
count_milliseconds(AVALANCHE_DEFAULT_QUERY_TIMEOUT)), | |||||
ArgsManager::ALLOW_ANY, OptionsCategory::AVALANCHE); | |||||
argsman.AddArg( | |||||
"-avacooldown", | "-avacooldown", | ||||
strprintf("Mandatory cooldown between two avapoll (default: %u)", | strprintf("Mandatory cooldown between two avapoll (default: %u)", | ||||
AVALANCHE_DEFAULT_COOLDOWN), | AVALANCHE_DEFAULT_COOLDOWN), | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::AVALANCHE); | ArgsManager::ALLOW_ANY, OptionsCategory::AVALANCHE); | ||||
argsman.AddArg( | argsman.AddArg( | ||||
"-avadelegation", | "-avadelegation", | ||||
"Avalanche proof delegation to the master key used by this node " | "Avalanche proof delegation to the master key used by this node " | ||||
"(default: none). Should be used in conjunction with -avaproof and " | "(default: none). Should be used in conjunction with -avaproof and " | ||||
▲ Show 20 Lines • Show All 1,849 Lines • Show Last 20 Lines |