aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2014-09-28 13:29:04 +0000
committerRoss Nicoll <[email protected]>2014-09-28 13:29:04 +0000
commit76ebacb657b69afd2ad559eb34b57a7d37a3500a (patch)
tree0ac009f5109d41e82155e200fb531c8deedb4ab3 /src/init.cpp
parentMerge pull request #716 from patricklodder/1.8.1-dev-lang-cleanup (diff)
parentFrom Bitcoin: ea3c1b0 and Bitcoin: af25208: Add maximum orphan blocks and ma... (diff)
downloaddiscoin-76ebacb657b69afd2ad559eb34b57a7d37a3500a.tar.xz
discoin-76ebacb657b69afd2ad559eb34b57a7d37a3500a.zip
Merge pull request #718 from michilumin/1.8.1-dev-limit-orphan-tx
1.8.1 dev limit orphan tx
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index eeda38569..8223e3282 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -210,6 +210,8 @@ std::string HelpMessage(HelpMessageMode hmm)
strUsage += " -datadir=<dir> " + _("Specify data directory") + "\n";
strUsage += " -dbcache=<n> " + strprintf(_("Set database cache size in megabytes (%d to %d, default: %d)"), nMinDbCache, nMaxDbCache, nDefaultDbCache) + "\n";
strUsage += " -loadblock=<file> " + _("Imports blocks from external blk000??.dat file") + " " + _("on startup") + "\n";
+ strUsage += " -maxorphanblocks=<n> " + strprintf(_("Keep at most <n> unconnectable blocks in memory (default: %u)"), DEFAULT_MAX_ORPHAN_BLOCKS) + "\n";
+ strUsage += " -maxorphantx=<n> " + strprintf(_("Keep at most <n> unconnectable transactions in memory (default: %u)"), DEFAULT_MAX_ORPHAN_TRANSACTIONS) + "\n";
strUsage += " -par=<n> " + strprintf(_("Set the number of script verification threads (%u to %d, 0 = auto, <0 = leave that many cores free, default: %d)"), -(int)boost::thread::hardware_concurrency(), MAX_SCRIPTCHECK_THREADS, DEFAULT_SCRIPTCHECK_THREADS) + "\n";
strUsage += " -pid=<file> " + _("Specify pid file (default: dogecoind.pid)") + "\n";
strUsage += " -reindex " + _("Rebuild block chain index from current blk000??.dat files") + " " + _("on startup") + "\n";