// When adding new options to the categories, please keep and ensure alphabetical ordering.
// When adding new options to the categories, please keep and ensure alphabetical ordering.
// Do not translate _(...) -help-debug options, Many technical terms, and only a very small audience, so is unnecessary stress to translators.
stringstrUsage=HelpMessageGroup(_("Options:"));
stringstrUsage=HelpMessageGroup(_("Options:"));
strUsage+=HelpMessageOpt("-?",_("This help message"));
strUsage+=HelpMessageOpt("-?",_("This help message"));
strUsage+=HelpMessageOpt("-alertnotify=<cmd>",_("Execute command when a relevant alert is received or we see a really long fork (%s in cmd is replaced by message)"));
strUsage+=HelpMessageOpt("-alertnotify=<cmd>",_("Execute command when a relevant alert is received or we see a really long fork (%s in cmd is replaced by message)"));
strUsage+=HelpMessageOpt("-disablewallet",_("Do not load the wallet and disable wallet RPC calls"));
strUsage+=HelpMessageOpt("-disablewallet",_("Do not load the wallet and disable wallet RPC calls"));
strUsage+=HelpMessageOpt("-keypool=<n>",strprintf(_("Set key pool size to <n> (default: %u)"),100));
strUsage+=HelpMessageOpt("-keypool=<n>",strprintf(_("Set key pool size to <n> (default: %u)"),100));
if(GetBoolArg("-help-debug",false))
if(showDebug)
strUsage+=HelpMessageOpt("-mintxfee=<amt>",strprintf(_("Fees (in BTC/Kb) smaller than this are considered zero fee for transaction creation (default: %s)"),
strUsage+=HelpMessageOpt("-mintxfee=<amt>",strprintf("Fees (in BTC/Kb) smaller than this are considered zero fee for transaction creation (default: %s)",
FormatMoney(CWallet::minTxFee.GetFeePerK())));
FormatMoney(CWallet::minTxFee.GetFeePerK())));
strUsage+=HelpMessageOpt("-paytxfee=<amt>",strprintf(_("Fee (in BTC/kB) to add to transactions you send (default: %s)"),FormatMoney(payTxFee.GetFeePerK())));
strUsage+=HelpMessageOpt("-paytxfee=<amt>",strprintf(_("Fee (in BTC/kB) to add to transactions you send (default: %s)"),FormatMoney(payTxFee.GetFeePerK())));
strUsage+=HelpMessageOpt("-rescan",_("Rescan the block chain for missing wallet transactions")+""+_("on startup"));
strUsage+=HelpMessageOpt("-rescan",_("Rescan the block chain for missing wallet transactions")+""+_("on startup"));
strUsage+=HelpMessageOpt("-help-debug",_("Show all debugging options (usage: --help -help-debug)"));
strUsage+=HelpMessageOpt("-help-debug",_("Show all debugging options (usage: --help -help-debug)"));
strUsage+=HelpMessageOpt("-logips",strprintf(_("Include IP addresses in debug output (default: %u)"),0));
strUsage+=HelpMessageOpt("-logips",strprintf(_("Include IP addresses in debug output (default: %u)"),0));
strUsage+=HelpMessageOpt("-logtimestamps",strprintf(_("Prepend debug output with timestamp (default: %u)"),1));
strUsage+=HelpMessageOpt("-logtimestamps",strprintf(_("Prepend debug output with timestamp (default: %u)"),1));
if(GetBoolArg("-help-debug",false))
if(showDebug)
{
{
strUsage+=HelpMessageOpt("-limitfreerelay=<n>",strprintf(_("Continuously rate-limit free transactions to <n>*1000 bytes per minute (default: %u)"),15));
strUsage+=HelpMessageOpt("-limitfreerelay=<n>",strprintf("Continuously rate-limit free transactions to <n>*1000 bytes per minute (default: %u)",15));
strUsage+=HelpMessageOpt("-relaypriority",strprintf(_("Require high priority for relaying free or low-fee transactions (default: %u)"),1));
strUsage+=HelpMessageOpt("-relaypriority",strprintf("Require high priority for relaying free or low-fee transactions (default: %u)",1));
strUsage+=HelpMessageOpt("-maxsigcachesize=<n>",strprintf(_("Limit size of signature cache to <n> entries (default: %u)"),50000));
strUsage+=HelpMessageOpt("-maxsigcachesize=<n>",strprintf("Limit size of signature cache to <n> entries (default: %u)",50000));
}
}
strUsage+=HelpMessageOpt("-minrelaytxfee=<amt>",strprintf(_("Fees (in BTC/Kb) smaller than this are considered zero fee for relaying (default: %s)"),FormatMoney(::minRelayTxFee.GetFeePerK())));
strUsage+=HelpMessageOpt("-minrelaytxfee=<amt>",strprintf(_("Fees (in BTC/Kb) smaller than this are considered zero fee for relaying (default: %s)"),FormatMoney(::minRelayTxFee.GetFeePerK())));
strUsage+=HelpMessageOpt("-printtoconsole",_("Send trace/debug info to console instead of debug.log file"));
strUsage+=HelpMessageOpt("-printtoconsole",_("Send trace/debug info to console instead of debug.log file"));
if(GetBoolArg("-help-debug",false))
if(showDebug)
{
{
strUsage+=HelpMessageOpt("-printpriority",strprintf(_("Log transaction priority and fee per kB when mining blocks (default: %u)"),0));
strUsage+=HelpMessageOpt("-printpriority",strprintf("Log transaction priority and fee per kB when mining blocks (default: %u)",0));
strUsage+=HelpMessageOpt("-privdb",strprintf(_("Sets the DB_PRIVATE flag in the wallet db environment (default: %u)"),1));
strUsage+=HelpMessageOpt("-privdb",strprintf("Sets the DB_PRIVATE flag in the wallet db environment (default: %u)",1));
strUsage+=HelpMessageOpt("-regtest",_("Enter regression test mode, which uses a special chain in which blocks can be solved instantly.")+""+
strUsage+=HelpMessageOpt("-regtest","Enter regression test mode, which uses a special chain in which blocks can be solved instantly. "
_("This is intended for regression testing tools and app development.")+""+
"This is intended for regression testing tools and app development.");
_("In this mode -genproclimit controls how many blocks are generated immediately."));
}
}
strUsage+=HelpMessageOpt("-shrinkdebugfile",_("Shrink debug.log file on client startup (default: 1 when no -debug)"));
strUsage+=HelpMessageOpt("-shrinkdebugfile",_("Shrink debug.log file on client startup (default: 1 when no -debug)"));
strUsage+=HelpMessageOpt("-testnet",_("Use the test network"));
strUsage+=HelpMessageOpt("-testnet",_("Use the test network"));
strUsage+=HelpMessageOpt("-blockminsize=<n>",strprintf(_("Set minimum block size in bytes (default: %u)"),0));
strUsage+=HelpMessageOpt("-blockminsize=<n>",strprintf(_("Set minimum block size in bytes (default: %u)"),0));
strUsage+=HelpMessageOpt("-blockmaxsize=<n>",strprintf(_("Set maximum block size in bytes (default: %d)"),DEFAULT_BLOCK_MAX_SIZE));
strUsage+=HelpMessageOpt("-blockmaxsize=<n>",strprintf(_("Set maximum block size in bytes (default: %d)"),DEFAULT_BLOCK_MAX_SIZE));
strUsage+=HelpMessageOpt("-blockprioritysize=<n>",strprintf(_("Set maximum size of high-priority/low-fee transactions in bytes (default: %d)"),DEFAULT_BLOCK_PRIORITY_SIZE));
strUsage+=HelpMessageOpt("-blockprioritysize=<n>",strprintf(_("Set maximum size of high-priority/low-fee transactions in bytes (default: %d)"),DEFAULT_BLOCK_PRIORITY_SIZE));
if(GetBoolArg("-help-debug",false))
if(showDebug)
strUsage+=HelpMessageOpt("-blockversion=<n>",strprintf(_("Override block version to test forking scenarios (default: %d)"),(int)CBlock::CURRENT_VERSION));
strUsage+=HelpMessageOpt("-blockversion=<n>",strprintf("Override block version to test forking scenarios (default: %d)",(int)CBlock::CURRENT_VERSION));
strUsage+=HelpMessageGroup(_("RPC server options:"));
strUsage+=HelpMessageGroup(_("RPC server options:"));
strUsage+=HelpMessageOpt("-server",_("Accept command line and JSON-RPC commands"));
strUsage+=HelpMessageOpt("-server",_("Accept command line and JSON-RPC commands"));