This commit is contained in:
jl777
2018-07-05 04:24:47 -11:00
parent 18c515eb03
commit 8d124e7f50

View File

@@ -6830,7 +6830,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
if (!state.fSyncStarted && !pto->fClient && !fImporting && !fReindex && pto->nStartingHeight != 0 )
{
// Only actively request headers from a single peer, unless we're close to today.
if ( (nSyncStarted < 30 && (fFetch || pindexStart->nHeight == 0) )//|| pindexBestHeader->GetBlockTime() > GetAdjustedTime() - 24 * 60 * 60)
if ( nSyncStarted < 30 && (fFetch || pindexStart->nHeight == 0) )//|| pindexBestHeader->GetBlockTime() > GetAdjustedTime() - 24 * 60 * 60)
{
state.fSyncStarted = true;
nSyncStarted++;