aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-01-19 06:29:34 -0800
committerWladimir J. van der Laan <laanwj@gmail.com>2013-01-19 06:29:34 -0800
commit0c16cc73ef442b1a820dac2e202c336eb3e1d4c0 (patch)
treec0e7a199801ffb13c6b089b32caa714a80cd2222 /src/init.cpp
parentac3907bf271b57757413679f96c0c940d8184c33 (diff)
parentbb41a87d57ac885dcd951a11827ca57329224802 (diff)
downloadbitcoin-0c16cc73ef442b1a820dac2e202c336eb3e1d4c0.tar.xz
Merge pull request #2171 from Diapolo/init
add InitMessage() to noui and use debug.log for GUI
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 4f319e8cbf..1d49a7bedb 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -789,7 +789,7 @@ bool AppInit2()
nCoinCacheSize = nTotalCache / 300; // coins in memory require around 300 bytes
uiInterface.InitMessage(_("Loading block index..."));
- printf("Loading block index...\n");
+
nStart = GetTimeMillis();
pblocktree = new CBlockTreeDB(nBlockTreeDBCache, false, fReindex);
pcoinsdbview = new CCoinsViewDB(nCoinDBCache, false, fReindex);
@@ -848,7 +848,7 @@ bool AppInit2()
// ********************************************************* Step 8: load wallet
uiInterface.InitMessage(_("Loading wallet..."));
- printf("Loading wallet...\n");
+
nStart = GetTimeMillis();
bool fFirstRun = true;
pwalletMain = new CWallet("wallet.dat");
@@ -946,7 +946,7 @@ bool AppInit2()
// ********************************************************* Step 10: load peers
uiInterface.InitMessage(_("Loading addresses..."));
- printf("Loading addresses...\n");
+
nStart = GetTimeMillis();
{
@@ -981,7 +981,6 @@ bool AppInit2()
// ********************************************************* Step 12: finished
uiInterface.InitMessage(_("Done loading"));
- printf("Done loading\n");
if (!strErrors.str().empty())
return InitError(strErrors.str());