aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-11-04 12:48:45 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2012-11-04 12:59:06 +0100
commit92467073adc11a76a26bbb55ccaed454169636f3 (patch)
treed0fb53976eb43cff56bb8318cdbbbe154d73b540 /src/init.cpp
parenta56d3f8a10e3c9f844aee1f362635ae14b872023 (diff)
downloadbitcoin-92467073adc11a76a26bbb55ccaed454169636f3.tar.xz
Remove -detachdb and stop's detach argument.
As the only BDB database left is the wallet, and it is always detached. Also remove IsChainFile() predicate and related chainfile-specific logic.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 1724382bf5..b096262d22 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -265,7 +265,6 @@ std::string HelpMessage()
" -upnp " + _("Use UPnP to map the listening port (default: 0)") + "\n" +
#endif
#endif
- " -detachdb " + _("Detach block and address databases. Increases shutdown time (default: 0)") + "\n" +
" -paytxfee=<amt> " + _("Fee per KB to add to transactions you send") + "\n" +
#ifdef QT_GUI
" -server " + _("Accept command line and JSON-RPC commands") + "\n" +
@@ -408,8 +407,6 @@ bool AppInit2()
else
fDebugNet = GetBoolArg("-debugnet");
- bitdb.SetDetach(GetBoolArg("-detachdb", false));
-
#if !defined(WIN32) && !defined(QT_GUI)
fDaemon = GetBoolArg("-daemon");
#else