Commit f8d4f239 authored by UdjinM6's avatar UdjinM6
Browse files

do not sync while IBD

Showing with 2 additions and 0 deletions
+2 -0
......@@ -133,6 +133,8 @@ void CMasternodeSync::Process()
return;
}
if(IsInitialBlockDownload()) return;
//don't begin syncing until we're almost at a recent block
if(pindexPrev->nHeight + 4 < pindexBestHeader->nHeight && pindexPrev->nTime + 600 < GetTime()) return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment