Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,189 Lines • ▼ Show 20 Lines | gArgs.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); | ||||
gArgs.AddArg( | gArgs.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); | ||||
gArgs.AddArg("-avasessionkey", "Avalanche session key (default: random)", | |||||
ArgsManager::ALLOW_ANY, OptionsCategory::AVALANCHE); | |||||
// Add the hidden options | // Add the hidden options | ||||
gArgs.AddHiddenArgs(hidden_args); | gArgs.AddHiddenArgs(hidden_args); | ||||
} | } | ||||
std::string LicenseInfo() { | std::string LicenseInfo() { | ||||
const std::string URL_SOURCE_CODE = | const std::string URL_SOURCE_CODE = | ||||
"<https://github.com/Bitcoin-ABC/bitcoin-abc>"; | "<https://github.com/Bitcoin-ABC/bitcoin-abc>"; | ||||
▲ Show 20 Lines • Show All 1,688 Lines • Show Last 20 Lines |