Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
#include <sync.h> | #include <sync.h> | ||||
#include <timedata.h> | #include <timedata.h> | ||||
#include <torcontrol.h> | #include <torcontrol.h> | ||||
#include <txdb.h> | #include <txdb.h> | ||||
#include <txmempool.h> | #include <txmempool.h> | ||||
#include <util/asmap.h> | #include <util/asmap.h> | ||||
#include <util/check.h> | #include <util/check.h> | ||||
#include <util/moneystr.h> | #include <util/moneystr.h> | ||||
#include <util/string.h> | |||||
#include <util/threadnames.h> | #include <util/threadnames.h> | ||||
#include <util/translation.h> | #include <util/translation.h> | ||||
#include <validation.h> | #include <validation.h> | ||||
#include <validationinterface.h> | #include <validationinterface.h> | ||||
#include <walletinitinterface.h> | #include <walletinitinterface.h> | ||||
#include <boost/algorithm/string/classification.hpp> | #include <boost/algorithm/string/classification.hpp> | ||||
#include <boost/algorithm/string/replace.hpp> | #include <boost/algorithm/string/replace.hpp> | ||||
▲ Show 20 Lines • Show All 709 Lines • ▼ Show 20 Lines | argsman.AddArg( | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
#endif | #endif | ||||
#else | #else | ||||
hidden_args.emplace_back("-upnp"); | hidden_args.emplace_back("-upnp"); | ||||
#endif | #endif | ||||
argsman.AddArg( | argsman.AddArg( | ||||
"-whitebind=<[permissions@]addr>", | "-whitebind=<[permissions@]addr>", | ||||
"Bind to given address and whitelist peers connecting to it." | "Bind to given address and whitelist peers connecting to it." | ||||
" Use [host]:port notation for IPv6. Allowed permissions are " | "Use [host]:port notation for IPv6. Allowed permissions: " + | ||||
"bloomfilter (allow requesting BIP37 filtered blocks and " | Join(NET_PERMISSIONS_DOC, ", ") + | ||||
"transactions), noban (do not ban for misbehavior), " | ". " | ||||
"forcerelay (relay even non-standard transactions), " | |||||
"relay (relay even in -blocksonly mode), " | |||||
"and mempool (allow requesting BIP35 mempool contents). " | |||||
"Specify multiple permissions separated by commas (default: " | "Specify multiple permissions separated by commas (default: " | ||||
"noban,mempool,relay). Can be specified multiple times.", | "noban,mempool,relay). Can be specified multiple times.", | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
argsman.AddArg("-whitelist=<[permissions@]IP address or network>", | argsman.AddArg("-whitelist=<[permissions@]IP address or network>", | ||||
"Whitelist peers connecting from the given IP address " | "Whitelist peers connecting from the given IP address " | ||||
"(e.g. 1.2.3.4) or CIDR notated network(e.g. 1.2.3.0/24). " | "(e.g. 1.2.3.4) or CIDR notated network(e.g. 1.2.3.0/24). " | ||||
"Uses same permissions as -whitebind. Can be specified " | "Uses same permissions as -whitebind. Can be specified " | ||||
"multiple times.", | "multiple times.", | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ArgsManager::ALLOW_ANY, OptionsCategory::CONNECTION); | ||||
▲ Show 20 Lines • Show All 2,164 Lines • Show Last 20 Lines |