Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 611 Lines • ▼ Show 20 Lines | argsman.AddArg( | ||||
ArgsManager::ALLOW_ANY | ArgsManager::NETWORK_ONLY, | ArgsManager::ALLOW_ANY | ArgsManager::NETWORK_ONLY, | ||||
OptionsCategory::CONNECTION); | OptionsCategory::CONNECTION); | ||||
argsman.AddArg("-asmap=<file>", | argsman.AddArg("-asmap=<file>", | ||||
strprintf("Specify asn mapping used for bucketing of the " | strprintf("Specify asn mapping used for bucketing of the " | ||||
"peers (default: %s). Relative paths will be " | "peers (default: %s). Relative paths will be " | ||||
"prefixed by the net-specific datadir location.", | "prefixed by the net-specific datadir location.", | ||||
DEFAULT_ASMAP_FILENAME), | DEFAULT_ASMAP_FILENAME), | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
argsman.AddArg("-banscore=<n>", | |||||
strprintf("Threshold for disconnecting and discouraging " | |||||
"misbehaving peers (default: %u)", | |||||
DEFAULT_BANSCORE_THRESHOLD), | |||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | |||||
argsman.AddArg("-bantime=<n>", | argsman.AddArg("-bantime=<n>", | ||||
strprintf("Default duration (in seconds) of manually " | strprintf("Default duration (in seconds) of manually " | ||||
"configured bans (default: %u)", | "configured bans (default: %u)", | ||||
DEFAULT_MISBEHAVING_BANTIME), | DEFAULT_MISBEHAVING_BANTIME), | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
argsman.AddArg("-bind=<addr>", | argsman.AddArg("-bind=<addr>", | ||||
"Bind to given address and always listen on it. Use " | "Bind to given address and always listen on it. Use " | ||||
"[host]:port notation for IPv6", | "[host]:port notation for IPv6", | ||||
▲ Show 20 Lines • Show All 2,326 Lines • Show Last 20 Lines |