diff options
| author | Pieter Wuille <[email protected]> | 2012-04-26 05:20:57 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-04-26 05:20:57 -0700 |
| commit | e1ea3ce7aaf83a1b8a04d96f6c1477f9a08d0f90 (patch) | |
| tree | 2b151b9c1453fcdd0da74deb9431ec2db29e15a7 /src/init.cpp | |
| parent | Merge pull request #1140 from jgarzik/sign-compare (diff) | |
| parent | Make lsn_reset ("detach databases") optional and off by default. (diff) | |
| download | discoin-e1ea3ce7aaf83a1b8a04d96f6c1477f9a08d0f90.tar.xz discoin-e1ea3ce7aaf83a1b8a04d96f6c1477f9a08d0f90.zip | |
Merge pull request #1119 from sipa/fastshutdown
Make lsn_reset ("detach databases") optional and off by default.
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index e7f1c7c01..0671cd779 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -200,6 +200,7 @@ bool AppInit2(int argc, char* argv[]) #else " -upnp \t " + _("Use Universal Plug and Play to map the listening port (default: 0)") + "\n" + #endif + " -detachdb \t " + _("Detach block and address databases. Increases shutdown time (default: 0)") + "\n" + #endif " -paytxfee=<amt> \t " + _("Fee per KB to add to transactions you send") + "\n" + #ifdef QT_GUI @@ -255,6 +256,7 @@ bool AppInit2(int argc, char* argv[]) } fDebug = GetBoolArg("-debug"); + fDetachDB = GetBoolArg("-detachdb", false); #if !defined(WIN32) && !defined(QT_GUI) fDaemon = GetBoolArg("-daemon"); |