@@ -1430,12 +1430,12 @@ void static InvalidChainFound(CBlockIndex* pindexNew) EXCLUSIVE_LOCKS_REQUIRED(c
1430
1430
pindexBestHeader = ::ChainActive ().Tip ();
1431
1431
}
1432
1432
1433
- LogPrintf (" %s: invalid block=%s height=%d log2_work=%.8g date=%s\n " , __func__,
1433
+ LogPrintf (" %s: invalid block=%s height=%d log2_work=%f date=%s\n " , __func__,
1434
1434
pindexNew->GetBlockHash ().ToString (), pindexNew->nHeight ,
1435
1435
log (pindexNew->nChainWork .getdouble ())/log (2.0 ), FormatISO8601DateTime (pindexNew->GetBlockTime ()));
1436
1436
CBlockIndex *tip = ::ChainActive ().Tip ();
1437
1437
assert (tip);
1438
- LogPrintf (" %s: current best=%s height=%d log2_work=%.8g date=%s\n " , __func__,
1438
+ LogPrintf (" %s: current best=%s height=%d log2_work=%f date=%s\n " , __func__,
1439
1439
tip->GetBlockHash ().ToString (), ::ChainActive ().Height (), log (tip->nChainWork .getdouble ())/log (2.0 ),
1440
1440
FormatISO8601DateTime (tip->GetBlockTime ()));
1441
1441
CheckForkWarningConditions ();
@@ -2485,7 +2485,7 @@ void static UpdateTip(const CBlockIndex* pindexNew, const CChainParams& chainPar
2485
2485
if (nUpgraded > 0 )
2486
2486
AppendWarning (warning_messages, strprintf (_ (" %d of last 100 blocks have unexpected version" ), nUpgraded));
2487
2487
}
2488
- LogPrintf (" %s: new best=%s height=%d version=0x%08x log2_work=%.8g tx=%lu date='%s' progress=%f cache=%.1fMiB(%utxo)%s\n " , __func__,
2488
+ LogPrintf (" %s: new best=%s height=%d version=0x%08x log2_work=%f tx=%lu date='%s' progress=%f cache=%.1fMiB(%utxo)%s\n " , __func__,
2489
2489
pindexNew->GetBlockHash ().ToString (), pindexNew->nHeight , pindexNew->nVersion ,
2490
2490
log (pindexNew->nChainWork .getdouble ())/log (2.0 ), (unsigned long )pindexNew->nChainTx ,
2491
2491
FormatISO8601DateTime (pindexNew->GetBlockTime ()),
0 commit comments