aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-06-22 10:13:31 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-06-22 10:13:31 -0700
commitd62a1947be5350ed60066ccacc7aba43bbdf48fb (patch)
treebe8d16631130b297b04ebc5903048b8b900e75db /src/init.cpp
parentcb1fcde2f4eadc82cf8a954bb290c8d5e59257dc (diff)
parentd07eaba195984410522b78884ff7ff72ec2ecc78 (diff)
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.cpp7
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)