diff options
| author | Jeff Garzik <[email protected]> | 2012-10-08 15:12:25 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-10-08 15:12:25 -0700 |
| commit | 56caa38a6719e133a2f1c17275eb596ab8f1c463 (patch) | |
| tree | daf6c20dfd7187255c8f82ba7df5fa6b191ab6be /src/init.cpp | |
| parent | Merge branch 'BDB_DOWNGRADE' (diff) | |
| parent | Send 'mempool' P2P command at the start of each P2P session (diff) | |
| download | discoin-56caa38a6719e133a2f1c17275eb596ab8f1c463.tar.xz discoin-56caa38a6719e133a2f1c17275eb596ab8f1c463.zip | |
Merge pull request #1833 from jgarzik/mempool-query
Send 'mempool' P2P command at the start of each P2P session
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index d27189364..b910c2dd7 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -25,6 +25,7 @@ using namespace boost; CWallet* pwalletMain; CClientUIInterface uiInterface; +int64 nTimeNodeStart; ////////////////////////////////////////////////////////////////////////////// // @@ -470,8 +471,10 @@ bool AppInit2() 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("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION)); + + nTimeNodeStart = GetTime(); if (!fLogTimestamps) - printf("Startup time: %s\n", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str()); + printf("Startup time: %s\n", DateTimeStrFormat("%x %H:%M:%S", nTimeNodeStart).c_str()); printf("Default data directory %s\n", GetDefaultDataDir().string().c_str()); printf("Used data directory %s\n", pszDataDir); std::ostringstream strErrors; |