This commit is contained in:
jl777
2016-10-31 10:46:34 -03:00
parent 98622aa76c
commit 2e17f1bdca

View File

@@ -1488,7 +1488,7 @@ bool IsInitialBlockDownload()
if ( ASSETCHAINS_SYMBOL[0] == 0 ) if ( ASSETCHAINS_SYMBOL[0] == 0 )
state = (chainActive.Height() < pindexBestHeader->nHeight - 24*6) || state = (chainActive.Height() < pindexBestHeader->nHeight - 24*6) ||
pindexBestHeader->GetBlockTime() < (GetTime() - chainParams.MaxTipAge()); pindexBestHeader->GetBlockTime() < (GetTime() - chainParams.MaxTipAge());
else state = (chainActive.Height() < pindexBestHeader->nHeight - 10); else state = (chainActive.Height() < pindexBestHeader->nHeight - 1);
if (!state) if (!state)
{ {
//fprintf(stderr,"lockIBDState tru\n"); //fprintf(stderr,"lockIBDState tru\n");