aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-21 23:05:54 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-23 18:44:28 +0200
commit41c6b8abc60f90e73ae4ad89b0a922638a61bbea (patch)
treeec4c49d72b4ded330d0eccf282dbb1788af28a46 /src/init.cpp
parent7a99821377eb46a1cc8b0115daf3af01ddb26a16 (diff)
add client startup time as an entry to debug.log (note: logged time in debug.log differs by a few seconds from the one displayed in the Debug window) / make ClientModel::formatClientStartupTime() return a QString
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index c01dc27086..27a42025eb 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -414,6 +414,7 @@ bool AppInit2()
ShrinkDebugFile();
printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
printf("Bitcoin version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str());
+ printf("Startup time: %s\n", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
printf("Default data directory %s\n", GetDefaultDataDir().string().c_str());
std::ostringstream strErrors;