strUsage+=" -alertnotify=<cmd> "+_("Execute command when a relevant alert is received or we see a really long fork (%s in cmd is replaced by message)")+"\n";
strUsage+=" -blocknotify=<cmd> "+_("Execute command when the best block changes (%s in cmd is replaced by block hash)")+"\n";
strUsage+=" -checkblocks=<n> "+_("How many blocks to check at startup (default: 288, 0 = all)")+"\n";
strUsage+=" -checklevel=<n> "+_("How thorough the block verification of -checkblocks is (0-4, default: 3)")+"\n";
strUsage+=" -genproclimit=<n> "+_("Set the processor limit for when generation is on (-1 = unlimited, default: -1)")+"\n";
strUsage+=" -help-debug "+_("Show all debugging options (usage: --help -help-debug)")+"\n";
strUsage+=" -logtimestamps "+_("Prepend debug output with timestamp (default: 1)")+"\n";
if(GetBoolArg("-help-debug",false))
{
strUsage+=", qt.\n";
strUsage+=" -limitfreerelay=<n> "+_("Continuously rate-limit free transactions to <n>*1000 bytes per minute (default:15)")+"\n";
strUsage+=" -maxsigcachesize=<n> "+_("Limit size of signature cache to <n> entries (default: 50000)")+"\n";
}
else
strUsage+=" -mintxfee=<amt> "+_("Fees smaller than this are considered zero fee (for transaction creation) (default:")+""+FormatMoney(CTransaction::nMinTxFee)+")"+"\n";
strUsage+=" -minrelaytxfee=<amt> "+_("Fees smaller than this are considered zero fee (for relaying) (default:")+""+FormatMoney(CTransaction::nMinRelayTxFee)+")"+"\n";
strUsage+=" -printtoconsole "+_("Send trace/debug info to console instead of debug.log file")+"\n";
if(GetBoolArg("-help-debug",false))
{
strUsage+=".\n";
strUsage+=" -printblock=<hash> "+_("Print block on startup, if found in block index")+"\n";
strUsage+=" -printblocktree "+_("Print block tree on startup (default: 0)")+"\n";
strUsage+=" -printpriority "+_("Log transaction priority and fee per kB when mining blocks (default: 0)")+"\n";
strUsage+=" -privdb "+_("Sets the DB_PRIVATE flag in the wallet db environment (default: 1)")+"\n";
strUsage+=" -regtest "+_("Enter regression test mode, which uses a special chain in which blocks can be solved instantly.")+"\n";
strUsage+=""+_("This is intended for regression testing tools and app development.")+"\n";
strUsage+=""+_("In this mode -genproclimit controls how many blocks are generated immediately.")+"\n";
}
strUsage+=" -logtimestamps "+_("Prepend debug output with timestamp (default: 1)")+"\n";
strUsage+=" -shrinkdebugfile "+_("Shrink debug.log file on client startup (default: 1 when no -debug)")+"\n";
strUsage+=" -printtoconsole "+_("Send trace/debug info to console instead of debug.log file")+"\n";
strUsage+=" -regtest "+_("Enter regression test mode, which uses a special chain in which blocks can be solved instantly.")+"\n";
strUsage+=""+_("This is intended for regression testing tools and app development.")+"\n";
strUsage+=" -server "+_("Accept command line and JSON-RPC commands")+"\n";
strUsage+=" -testnet "+_("Use the test network")+"\n";
if(hmm==HMM_BITCOIND)
{
#if !defined(WIN32)
strUsage+=" -daemon "+_("Run in the background as a daemon and accept commands")+"\n";
#endif
}
strUsage+="\n"+_("Block creation options:")+"\n";
strUsage+=" -blockminsize=<n> "+_("Set minimum block size in bytes (default: 0)")+"\n";
strUsage+=" -blockmaxsize=<n> "+strprintf(_("Set maximum block size in bytes (default: %d)"),DEFAULT_BLOCK_MAX_SIZE)+"\n";
strUsage+=" -blockprioritysize=<n> "+strprintf(_("Set maximum size of high-priority/low-fee transactions in bytes (default: %d)"),DEFAULT_BLOCK_PRIORITY_SIZE)+"\n";
strUsage+="\n"+_("RPC server options:")+"\n";
strUsage+=" -server "+_("Accept command line and JSON-RPC commands")+"\n";
strUsage+=" -rpcuser=<user> "+_("Username for JSON-RPC connections")+"\n";
strUsage+=" -rpcpassword=<pw> "+_("Password for JSON-RPC connections")+"\n";
strUsage+=" -rpcport=<port> "+_("Listen for JSON-RPC connections on <port> (default: 8332 or testnet: 18332)")+"\n";
strUsage+=" -rpcallowip=<ip> "+_("Allow JSON-RPC connections from specified IP address")+"\n";
strUsage+=" -rpcthreads=<n> "+_("Set the number of threads to service RPC calls (default: 4)")+"\n";
strUsage+=" -blocknotify=<cmd> "+_("Execute command when the best block changes (%s in cmd is replaced by block hash)")+"\n";
strUsage+=" -alertnotify=<cmd> "+_("Execute command when a relevant alert is received or we see a really long fork (%s in cmd is replaced by message)")+"\n";
strUsage+=" -keypool=<n> "+_("Set key pool size to <n> (default: 100)")+"\n";
strUsage+=" -checkblocks=<n> "+_("How many blocks to check at startup (default: 288, 0 = all)")+"\n";
strUsage+=" -checklevel=<n> "+_("How thorough the block verification is (0-4, default: 3)")+"\n";
strUsage+=" -txindex "+_("Maintain a full transaction index (default: 0)")+"\n";
strUsage+=" -loadblock=<file> "+_("Imports blocks from external blk000??.dat file")+"\n";
strUsage+=" -reindex "+_("Rebuild block chain index from current blk000??.dat files")+"\n";
strUsage+=" -par=<n> "+_("Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0)")+"\n";
#ifdef ENABLE_WALLET
strUsage+="\n"+_("Wallet options:")+"\n";
strUsage+=" -disablewallet "+_("Do not load the wallet and disable wallet RPC calls")+"\n";
strUsage+=" -paytxfee=<amt> "+_("Fee per kB to add to transactions you send")+"\n";
strUsage+=" -rescan "+_("Rescan the block chain for missing wallet transactions")+"\n";
strUsage+=" -zapwallettxes "+_("Clear list of wallet transactions (diagnostic tool; implies -rescan)")+"\n";
strUsage+=" -salvagewallet "+_("Attempt to recover private keys from a corrupt wallet.dat")+"\n";
strUsage+=" -upgradewallet "+_("Upgrade wallet to latest format")+"\n";
strUsage+=" -wallet=<file> "+_("Specify wallet file (within data directory)")+"\n";
strUsage+=" -walletnotify=<cmd> "+_("Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)")+"\n";
strUsage+=" -spendzeroconfchange "+_("Spend unconfirmed change when sending transactions (default: 1)")+"\n";
#endif
strUsage+="\n"+_("Block creation options:")+"\n";
strUsage+=" -blockminsize=<n> "+_("Set minimum block size in bytes (default: 0)")+"\n";
strUsage+=" -blockmaxsize=<n> "+strprintf(_("Set maximum block size in bytes (default: %d)"),DEFAULT_BLOCK_MAX_SIZE)+"\n";
strUsage+=" -blockprioritysize=<n> "+strprintf(_("Set maximum size of high-priority/low-fee transactions in bytes (default: %d)"),DEFAULT_BLOCK_PRIORITY_SIZE)+"\n";
strUsage+="\n"+_("SSL options: (see the Bitcoin Wiki for SSL setup instructions)")+"\n";
strUsage+="\n"+_("RPC SSL options: (see the Bitcoin Wiki for SSL setup instructions)")+"\n";
strUsage+=" -rpcssl "+_("Use OpenSSL (https) for JSON-RPC connections")+"\n";