diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-05-10 12:53:49 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-05-10 12:57:07 +0200 |
| commit | 3e2c946cfdfdaae4b00793a554157762d1971705 (patch) | |
| tree | 2aa8198e0e656595ef8210a5b1463a83427a452c /src/init.cpp | |
| parent | Merge #8019: Remove state arg from ReconsiderBlock, rename to ResetBlockFailu... (diff) | |
| download | discoin-3e2c946cfdfdaae4b00793a554157762d1971705.tar.xz discoin-3e2c946cfdfdaae4b00793a554157762d1971705.zip | |
init: Move berkeleydb version reporting to wallet
Move the version reporting to Wallet::Verify, before starting
verification of the wallet.
This removes the dependency of init on a specific wallet database
library.
A further, trivial step towards resolving #7965.
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/init.cpp b/src/init.cpp index b06f448a0..a46cc52a8 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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()); |