diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-06-22 10:13:31 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2012-06-22 10:13:31 -0700 |
commit | d62a1947be5350ed60066ccacc7aba43bbdf48fb (patch) | |
tree | be8d16631130b297b04ebc5903048b8b900e75db /src/init.cpp | |
parent | cb1fcde2f4eadc82cf8a954bb290c8d5e59257dc (diff) | |
parent | d07eaba195984410522b78884ff7ff72ec2ecc78 (diff) | |
download | bitcoin-d62a1947be5350ed60066ccacc7aba43bbdf48fb.tar.xz |
Merge pull request #1458 from jgarzik/tracenet
Introduce -tracenet option, thereby quieting some redundant debug messages
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 4ab7bdc429..21c32a6d67 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -358,6 +358,13 @@ bool AppInit2() // ********************************************************* Step 3: parameter-to-internal-flags fDebug = GetBoolArg("-debug"); + + // -debug implies fDebug* + if (fDebug) + fDebugNet = true; + else + fDebugNet = GetBoolArg("-debugnet"); + bitdb.SetDetach(GetBoolArg("-detachdb", false)); #if !defined(WIN32) && !defined(QT_GUI) |