Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 545 Lines • ▼ Show 20 Lines | gArgs.AddArg("-usecashaddr", | ||||
"(activate by default on Jan, 14)", | "(activate by default on Jan, 14)", | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS); | ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS); | ||||
gArgs.AddArg("-addnode=<ip>", | gArgs.AddArg("-addnode=<ip>", | ||||
"Add a node to connect to and attempt to keep the connection " | "Add a node to connect to and attempt to keep the connection " | ||||
"open (see the `addnode` RPC command help for more info)", | "open (see the `addnode` RPC command help for more info)", | ||||
ArgsManager::ALLOW_ANY | ArgsManager::NETWORK_ONLY, | ArgsManager::ALLOW_ANY | ArgsManager::NETWORK_ONLY, | ||||
OptionsCategory::CONNECTION); | OptionsCategory::CONNECTION); | ||||
gArgs.AddArg( | gArgs.AddArg("-banscore=<n>", | ||||
"-banscore=<n>", | strprintf("Threshold for disconnecting and discouraging " | ||||
strprintf("Threshold for disconnecting misbehaving peers (default: %u)", | "misbehaving peers (default: %u)", | ||||
DEFAULT_BANSCORE_THRESHOLD), | DEFAULT_BANSCORE_THRESHOLD), | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
gArgs.AddArg("-bantime=<n>", | gArgs.AddArg("-bantime=<n>", | ||||
strprintf("Number of seconds to keep misbehaving peers from " | strprintf("Default duration (in seconds) of manually " | ||||
"reconnecting (default: %u)", | "configured bans (default: %u)", | ||||
DEFAULT_MISBEHAVING_BANTIME), | DEFAULT_MISBEHAVING_BANTIME), | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
gArgs.AddArg("-bind=<addr>", | gArgs.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", | ||||
ArgsManager::ALLOW_ANY | ArgsManager::NETWORK_ONLY, | ArgsManager::ALLOW_ANY | ArgsManager::NETWORK_ONLY, | ||||
OptionsCategory::CONNECTION); | OptionsCategory::CONNECTION); | ||||
gArgs.AddArg( | gArgs.AddArg( | ||||
▲ Show 20 Lines • Show All 2,228 Lines • Show Last 20 Lines |