aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJameson Lopp <jameson.lopp@gmail.com>2014-12-21 09:10:43 -0500
committerWladimir J. van der Laan <laanwj@gmail.com>2014-12-22 15:03:50 +0100
commitad3d208fb9eebb06e497e4ec104aeb03dab77acc (patch)
tree9229405cdc377f32b68d36d3010d9a26fb296981 /src
parent0cb8763cbbece4b25ea9e9bd756bfefd52ce23d8 (diff)
downloadbitcoin-ad3d208fb9eebb06e497e4ec104aeb03dab77acc.tar.xz
remove max orphan blocks config parameter since it is no longer functional
Rebased-From: 4bc95c43871645c1d69a0d719c13b38151a3a13f
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 11329c16aa..5d42786038 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 8f0378647d..a62bebc49d 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) */