aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJameson Lopp <jameson.lopp@gmail.com>2014-12-21 09:10:43 -0500
committerJameson Lopp <jameson.lopp@gmail.com>2014-12-21 09:10:43 -0500
commit4bc95c43871645c1d69a0d719c13b38151a3a13f (patch)
treed46dd746821f5d8d9eb60f7c30646b210b7680a8 /src
parentf914f1a746d7f91951c1da262a4a749dd3ebfa71 (diff)
remove max orphan blocks config parameter since it is no longer functional
Diffstat (limited to 'src')
-rw-r--r--src/init.cpp1
-rw-r--r--src/main.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 220d3b93ae..22026c4468 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -231,7 +231,6 @@ std::string HelpMessage(HelpMessageMode mode)
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";
#ifndef WIN32
diff --git a/src/main.h b/src/main.h
index 717cec769e..662d5756f7 100644
--- a/src/main.h
+++ b/src/main.h
@@ -64,8 +64,6 @@ static const unsigned int MAX_P2SH_SIGOPS = 15;
static const unsigned int MAX_TX_SIGOPS = MAX_BLOCK_SIGOPS/5;
/** Default for -maxorphantx, maximum number of orphan transactions kept in memory */
static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100;
-/** Default for -maxorphanblocks, maximum number of orphan blocks kept in memory */
-static const unsigned int DEFAULT_MAX_ORPHAN_BLOCKS = 750;
/** The maximum size of a blk?????.dat file (since 0.8) */
static const unsigned int MAX_BLOCKFILE_SIZE = 0x8000000; // 128 MiB
/** The pre-allocation chunk size for blk?????.dat files (since 0.8) */