mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
replaced IsInitialBlockDownload with more basic/faster check
This commit is contained in:
parent
47bb25d853
commit
3322b029ec
@ -3211,7 +3211,7 @@ bool ProcessBlock(CValidationState &state, CNode* pfrom, CBlock* pblock, CDiskBl
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!fLiteMode){
|
if(!fLiteMode){
|
||||||
if(!IsInitialBlockDownload()){
|
if (!fImporting && !fReindex && chainActive.Height() > Checkpoints::GetTotalBlocksEstimate()){
|
||||||
darkSendPool.CheckTimeout();
|
darkSendPool.CheckTimeout();
|
||||||
darkSendPool.NewBlock();
|
darkSendPool.NewBlock();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user