File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1305,8 +1305,6 @@ bool AppInitMain()
1305
1305
return InitError (_ (" Unable to start HTTP server. See debug log for details." ));
1306
1306
}
1307
1307
1308
- int64_t nStart;
1309
-
1310
1308
// ********************************************************* Step 5: verify wallet database integrity
1311
1309
if (!g_wallet_init_interface.Verify ()) return false ;
1312
1310
@@ -1458,8 +1456,8 @@ bool AppInitMain()
1458
1456
1459
1457
LOCK (cs_main);
1460
1458
1461
- nStart = GetTimeMillis ();
1462
1459
do {
1460
+ const int64_t load_block_index_start_time = GetTimeMillis ();
1463
1461
try {
1464
1462
UnloadBlockIndex ();
1465
1463
pcoinsTip.reset ();
@@ -1582,6 +1580,7 @@ bool AppInitMain()
1582
1580
}
1583
1581
1584
1582
fLoaded = true ;
1583
+ LogPrintf (" block index %15dms\n " , GetTimeMillis () - load_block_index_start_time);
1585
1584
} while (false );
1586
1585
1587
1586
if (!fLoaded && !fRequestShutdown ) {
@@ -1612,9 +1611,6 @@ bool AppInitMain()
1612
1611
LogPrintf (" Shutdown requested. Exiting.\n " );
1613
1612
return false ;
1614
1613
}
1615
- if (fLoaded ) {
1616
- LogPrintf (" block index %15dms\n " , GetTimeMillis () - nStart);
1617
- }
1618
1614
1619
1615
fs::path est_path = GetDataDir () / FEE_ESTIMATES_FILENAME;
1620
1616
CAutoFile est_filein (fsbridge::fopen (est_path, " rb" ), SER_DISK, CLIENT_VERSION);
You can’t perform that action at this time.
0 commit comments