|
|
@ -789,7 +789,7 @@ bool AppInit2() |
|
|
|
nCoinCacheSize = nTotalCache / 300; // coins in memory require around 300 bytes
|
|
|
|
nCoinCacheSize = nTotalCache / 300; // coins in memory require around 300 bytes
|
|
|
|
|
|
|
|
|
|
|
|
uiInterface.InitMessage(_("Loading block index...")); |
|
|
|
uiInterface.InitMessage(_("Loading block index...")); |
|
|
|
printf("Loading block index...\n"); |
|
|
|
|
|
|
|
nStart = GetTimeMillis(); |
|
|
|
nStart = GetTimeMillis(); |
|
|
|
pblocktree = new CBlockTreeDB(nBlockTreeDBCache, false, fReindex); |
|
|
|
pblocktree = new CBlockTreeDB(nBlockTreeDBCache, false, fReindex); |
|
|
|
pcoinsdbview = new CCoinsViewDB(nCoinDBCache, false, fReindex); |
|
|
|
pcoinsdbview = new CCoinsViewDB(nCoinDBCache, false, fReindex); |
|
|
@ -848,7 +848,7 @@ bool AppInit2() |
|
|
|
// ********************************************************* Step 8: load wallet
|
|
|
|
// ********************************************************* Step 8: load wallet
|
|
|
|
|
|
|
|
|
|
|
|
uiInterface.InitMessage(_("Loading wallet...")); |
|
|
|
uiInterface.InitMessage(_("Loading wallet...")); |
|
|
|
printf("Loading wallet...\n"); |
|
|
|
|
|
|
|
nStart = GetTimeMillis(); |
|
|
|
nStart = GetTimeMillis(); |
|
|
|
bool fFirstRun = true; |
|
|
|
bool fFirstRun = true; |
|
|
|
pwalletMain = new CWallet("wallet.dat"); |
|
|
|
pwalletMain = new CWallet("wallet.dat"); |
|
|
@ -946,7 +946,7 @@ bool AppInit2() |
|
|
|
// ********************************************************* Step 10: load peers
|
|
|
|
// ********************************************************* Step 10: load peers
|
|
|
|
|
|
|
|
|
|
|
|
uiInterface.InitMessage(_("Loading addresses...")); |
|
|
|
uiInterface.InitMessage(_("Loading addresses...")); |
|
|
|
printf("Loading addresses...\n"); |
|
|
|
|
|
|
|
nStart = GetTimeMillis(); |
|
|
|
nStart = GetTimeMillis(); |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
@ -981,7 +981,6 @@ bool AppInit2() |
|
|
|
// ********************************************************* Step 12: finished
|
|
|
|
// ********************************************************* Step 12: finished
|
|
|
|
|
|
|
|
|
|
|
|
uiInterface.InitMessage(_("Done loading")); |
|
|
|
uiInterface.InitMessage(_("Done loading")); |
|
|
|
printf("Done loading\n"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!strErrors.str().empty()) |
|
|
|
if (!strErrors.str().empty()) |
|
|
|
return InitError(strErrors.str()); |
|
|
|
return InitError(strErrors.str()); |
|
|
|