diff options
| author | Pieter Wuille <[email protected]> | 2012-11-04 12:48:45 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-11-04 12:59:06 +0100 |
| commit | 92467073adc11a76a26bbb55ccaed454169636f3 (patch) | |
| tree | d0fb53976eb43cff56bb8318cdbbbe154d73b540 /src/init.cpp | |
| parent | Merge pull request #1971 from sipa/bugfix_norelayspent (diff) | |
| download | discoin-92467073adc11a76a26bbb55ccaed454169636f3.tar.xz discoin-92467073adc11a76a26bbb55ccaed454169636f3.zip | |
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.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp index 1724382bf..b096262d2 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 |