reduce some debugging in non-randomx code
This commit is contained in:
@@ -2449,14 +2449,14 @@ static CBlockIndex *pindexBestForkBase = NULL;
|
||||
|
||||
void CheckForkWarningConditions()
|
||||
{
|
||||
fprintf(stderr,"%s checking for IBD\n", __func__);
|
||||
//fprintf(stderr,"%s checking for IBD\n", __func__);
|
||||
AssertLockHeld(cs_main);
|
||||
// Before we get past initial download, we cannot reliably alert about forks
|
||||
// (we assume we don't get stuck on a fork before finishing our initial sync)
|
||||
if (IsInitialBlockDownload())
|
||||
return;
|
||||
|
||||
fprintf(stderr,"%s not in IBD\n", __func__);
|
||||
//fprintf(stderr,"%s not in IBD\n", __func__);
|
||||
// If our best fork is no longer within 288 blocks (+/- 12 hours if no one mines it)
|
||||
// of our head, drop it
|
||||
if (pindexBestForkTip && chainActive.Height() - pindexBestForkTip->GetHeight() >= 288)
|
||||
|
||||
Reference in New Issue
Block a user