This commit is contained in:
jl777
2016-10-30 18:53:01 -03:00
parent cb237ef8c6
commit a4e1979db3

View File

@@ -1487,7 +1487,7 @@ bool IsInitialBlockDownload()
gap = ASSETCHAINS_SYMBOL[0] == 0 ? 24 * 6 : 1;
bool state = (chainActive.Height() < pindexBestHeader->nHeight - gap ||
pindexBestHeader->GetBlockTime() < GetTime() - chainParams.MaxTipAge());
fprintf(stderr,"height.%d < best.%d\n",chainActive.Height(),pindexBestHeader->nHeight);
fprintf(stderr,"height.%d < best.%d, %u < %u - %u\n",chainActive.Height(),pindexBestHeader->nHeight,(uint32_t)pindexBestHeader->GetBlockTime(),(uint32_t)GetTime(),(uint32_t)chainParams.MaxTipAge());
if (!state)
{
fprintf(stderr,"lockIBDState tru\n");