syntax
This commit is contained in:
@@ -6830,7 +6830,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
|
|||||||
if (!state.fSyncStarted && !pto->fClient && !fImporting && !fReindex && pto->nStartingHeight != 0 )
|
if (!state.fSyncStarted && !pto->fClient && !fImporting && !fReindex && pto->nStartingHeight != 0 )
|
||||||
{
|
{
|
||||||
// Only actively request headers from a single peer, unless we're close to today.
|
// 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;
|
state.fSyncStarted = true;
|
||||||
nSyncStarted++;
|
nSyncStarted++;
|
||||||
|
|||||||
Reference in New Issue
Block a user