Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,230 Lines • ▼ Show 20 Lines | #else | ||||
hidden_args.emplace_back("-daemon"); | hidden_args.emplace_back("-daemon"); | ||||
#endif | #endif | ||||
// Avalanche options. | // Avalanche options. | ||||
argsman.AddArg( | argsman.AddArg( | ||||
"-enableavalanche", | "-enableavalanche", | ||||
strprintf("Enable avalanche (default: %u)", AVALANCHE_DEFAULT_ENABLED), | strprintf("Enable avalanche (default: %u)", AVALANCHE_DEFAULT_ENABLED), | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::AVALANCHE); | ArgsManager::ALLOW_ANY, OptionsCategory::AVALANCHE); | ||||
argsman.AddArg("-enableavalanchepeerdiscovery", | |||||
strprintf("Enable avalanche peer discovery (default: %u)", | |||||
AVALANCHE_DEFAULT_PEER_DISCOVERY_ENABLED), | |||||
ArgsManager::ALLOW_ANY, OptionsCategory::AVALANCHE); | |||||
argsman.AddArg( | 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 " | ||||
▲ Show 20 Lines • Show All 1,782 Lines • Show Last 20 Lines |