Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 677 Lines • ▼ Show 20 Lines | argsman.AddArg("-overridednsseed", | ||||
"querying for peer addresses via DNS lookup.", | "querying for peer addresses via DNS lookup.", | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
argsman.AddArg( | argsman.AddArg( | ||||
"-listen", | "-listen", | ||||
"Accept connections from outside (default: 1 if no -proxy or -connect)", | "Accept connections from outside (default: 1 if no -proxy or -connect)", | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
argsman.AddArg( | argsman.AddArg( | ||||
"-listenonion", | "-listenonion", | ||||
strprintf("Automatically create Tor hidden service (default: %d)", | strprintf("Automatically create Tor onion service (default: %d)", | ||||
DEFAULT_LISTEN_ONION), | DEFAULT_LISTEN_ONION), | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
argsman.AddArg( | argsman.AddArg( | ||||
"-maxconnections=<n>", | "-maxconnections=<n>", | ||||
strprintf("Maintain at most <n> connections to peers. The effective " | strprintf("Maintain at most <n> connections to peers. The effective " | ||||
"limit depends on system limitations and might be lower than " | "limit depends on system limitations and might be lower than " | ||||
"the specified value (default: %u)", | "the specified value (default: %u)", | ||||
DEFAULT_MAX_PEER_CONNECTIONS), | DEFAULT_MAX_PEER_CONNECTIONS), | ||||
Show All 13 Lines | argsman.AddArg( | ||||
"-maxtimeadjustment", | "-maxtimeadjustment", | ||||
strprintf("Maximum allowed median peer time offset adjustment. Local " | strprintf("Maximum allowed median peer time offset adjustment. Local " | ||||
"perspective of time may be influenced by peers forward or " | "perspective of time may be influenced by peers forward or " | ||||
"backward by this amount. (default: %u seconds)", | "backward by this amount. (default: %u seconds)", | ||||
DEFAULT_MAX_TIME_ADJUSTMENT), | DEFAULT_MAX_TIME_ADJUSTMENT), | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
argsman.AddArg("-onion=<ip:port>", | argsman.AddArg("-onion=<ip:port>", | ||||
strprintf("Use separate SOCKS5 proxy to reach peers via Tor " | strprintf("Use separate SOCKS5 proxy to reach peers via Tor " | ||||
"hidden services (default: %s)", | "onion services (default: %s)", | ||||
"-proxy"), | "-proxy"), | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
argsman.AddArg( | argsman.AddArg( | ||||
"-onlynet=<net>", | "-onlynet=<net>", | ||||
"Make outgoing connections only through network <net> (ipv4, ipv6 or " | "Make outgoing connections only through network <net> (ipv4, ipv6 or " | ||||
"onion). Incoming connections are not affected by this option. This " | "onion). Incoming connections are not affected by this option. This " | ||||
"option can be specified multiple times to allow multiple networks.", | "option can be specified multiple times to allow multiple networks.", | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
▲ Show 20 Lines • Show All 2,318 Lines • Show Last 20 Lines |