Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show All 17 Lines | |||||
#include <config.h> | #include <config.h> | ||||
#include <consensus/validation.h> | #include <consensus/validation.h> | ||||
#include <flatfile.h> | #include <flatfile.h> | ||||
#include <fs.h> | #include <fs.h> | ||||
#include <httprpc.h> | #include <httprpc.h> | ||||
#include <httpserver.h> | #include <httpserver.h> | ||||
#include <index/txindex.h> | #include <index/txindex.h> | ||||
#include <key.h> | #include <key.h> | ||||
#include <miner.h> | |||||
#include <net.h> | #include <net.h> | ||||
#include <net_processing.h> | #include <net_processing.h> | ||||
#include <netbase.h> | #include <netbase.h> | ||||
#include <policy/policy.h> | #include <policy/policy.h> | ||||
#include <rpc/blockchain.h> | #include <rpc/blockchain.h> | ||||
#include <rpc/register.h> | #include <rpc/register.h> | ||||
#include <rpc/server.h> | #include <rpc/server.h> | ||||
#include <scheduler.h> | #include <scheduler.h> | ||||
▲ Show 20 Lines • Show All 773 Lines • ▼ Show 20 Lines | gArgs.AddArg("-maxtipage=<n>", | ||||
"initial block download (default: %u)", | "initial block download (default: %u)", | ||||
DEFAULT_MAX_TIP_AGE), | DEFAULT_MAX_TIP_AGE), | ||||
true, OptionsCategory::DEBUG_TEST); | true, OptionsCategory::DEBUG_TEST); | ||||
gArgs.AddArg( | gArgs.AddArg( | ||||
"-printtoconsole", | "-printtoconsole", | ||||
_("Send trace/debug info to console instead of debug.log file"), false, | _("Send trace/debug info to console instead of debug.log file"), false, | ||||
OptionsCategory::DEBUG_TEST); | OptionsCategory::DEBUG_TEST); | ||||
gArgs.AddArg("-printpriority", | |||||
strprintf("Log transaction priority and fee per kB when " | |||||
"mining blocks (default: %d)", | |||||
DEFAULT_PRINTPRIORITY), | |||||
true, OptionsCategory::DEBUG_TEST); | |||||
gArgs.AddArg("-shrinkdebugfile", | gArgs.AddArg("-shrinkdebugfile", | ||||
_("Shrink debug.log file on client startup (default: 1 when " | _("Shrink debug.log file on client startup (default: 1 when " | ||||
"no -debug)"), | "no -debug)"), | ||||
false, OptionsCategory::DEBUG_TEST); | false, OptionsCategory::DEBUG_TEST); | ||||
gArgs.AddArg("-uacomment=<cmt>", | gArgs.AddArg("-uacomment=<cmt>", | ||||
_("Append comment to the user agent string"), false, | _("Append comment to the user agent string"), false, | ||||
OptionsCategory::DEBUG_TEST); | OptionsCategory::DEBUG_TEST); | ||||
▲ Show 20 Lines • Show All 1,668 Lines • Show Last 20 Lines |