Permalink
Browse files

Merge #8036: init: Move berkeleydb version reporting to wallet

3e2c946 init: Move berkeleydb version reporting to wallet (Wladimir J. van der Laan)
  • Loading branch information...
laanwj committed May 10, 2016
2 parents f7a21da + 3e2c946 commit 41138f914d16748df61ee62e7910b015afb5348c
Showing with 1 addition and 5 deletions.
  1. +0 −5 src/init.cpp
  2. +1 −0 src/wallet/wallet.cpp
View
@@ -37,9 +37,7 @@
#include "utilmoneystr.h"
#include "validationinterface.h"
#ifdef ENABLE_WALLET
#include "wallet/db.h"
#include "wallet/wallet.h"
#include "wallet/walletdb.h"
#endif
#include <stdint.h>
#include <stdio.h>
@@ -986,9 +984,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
if (fPrintToDebugLog)
OpenDebugLog();
#ifdef ENABLE_WALLET
LogPrintf("Using BerkeleyDB version %s\n", DbEnv::version(0, 0, 0));
#endif
if (!fLogTimestamps)
LogPrintf("Startup time: %s\n", DateTimeStrFormat("%Y-%m-%d %H:%M:%S", GetTime()));
LogPrintf("Default data directory %s\n", GetDefaultDataDir().string());
View
@@ -368,6 +368,7 @@ void CWallet::Flush(bool shutdown)
bool CWallet::Verify()
{
LogPrintf("Using BerkeleyDB version %s\n", DbEnv::version(0, 0, 0));
std::string walletFile = GetArg("-wallet", DEFAULT_WALLET_DAT);
LogPrintf("Using wallet %s\n", walletFile);

0 comments on commit 41138f9

Please sign in to comment.