diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-09-24 13:53:44 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-09-24 13:53:44 -0400 |
commit | 22f9b069035c9ba0416a62714db167eea5ba762f (patch) | |
tree | d66bd49469e7094db5ac7603d2379748f282116a /src/init.cpp | |
parent | 6cbae37667f504d9ecd6173e1eff817d2b7aaf0c (diff) |
Send 'mempool' P2P command at the start of each P2P session
to query remote node mempool contents.
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 dc425da644..df3a0f1fd5 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -25,6 +25,7 @@ using namespace boost; CWallet* pwalletMain; CClientUIInterface uiInterface; +int64 nTimeNodeStart; ////////////////////////////////////////////////////////////////////////////// // @@ -469,8 +470,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", GetDataDir().string().c_str()); std::ostringstream strErrors; |