sugarchain-project / yumekawa

[TEST] Yumekawa 2.0 Taproot
MIT License
6 stars 5 forks source link

log2_work on debug.log #82

Open decryp2kanon opened 3 years ago

decryp2kanon commented 3 years ago
2021-05-03T14:20:59Z UpdateTip: new best=96cd4cf8e0782489e71e096ea45bc1b708b533726b66f81223dbe023ad9c547b height=10687301 version=0x20000000 log2_work=47.709532 tx=11298015 date='2021-05-03T14:20:57Z' progress=1.000000 cache=144.8MiB(1071335txo)
2021-05-03T14:21:04Z UpdateTip: new best=f24a16bdff4d599046f0c82358bc1041dabff624f31d5eb003339facedccce26 height=10687302 version=0x20000000 log2_work=47.709533 tx=11298016 date='2021-05-03T14:21:02Z' progress=1.000000 cache=144.8MiB(1071336txo)
2021-05-03T14:21:21Z UpdateTip: new best=74b575d7082ed524228f37c73e28ef80c2b39292cc05501cab577a44517a3ec6 height=10687303 version=0x20000000 log2_work=47.709533 tx=11298017 date='2021-05-03T14:21:04Z' progress=1.000000 cache=144.8MiB(1071337txo)
    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__,
      pindexNew->GetBlockHash().ToString(), pindexNew->nHeight, pindexNew->nVersion,
      log(pindexNew->nChainWork.getdouble())/log(2.0), (unsigned long)pindexNew->nChainTx,
      FormatISO8601DateTime(pindexNew->GetBlockTime()),
      GuessVerificationProgress(chainParams.TxData(), pindexNew), active_chainstate.CoinsTip().DynamicMemoryUsage() * (1.0 / (1<<20)), active_chainstate.CoinsTip().GetCacheSize(),
      !warning_messages.empty() ? strprintf(" warning='%s'", warning_messages.original) : "");

log2_work=%f

too short?