Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log2_work on debug.log #82

Open
decryp2kanon opened this issue May 3, 2021 · 0 comments
Open

log2_work on debug.log #82

decryp2kanon opened this issue May 3, 2021 · 0 comments

Comments

@decryp2kanon
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant