#10982 started disconnecting service bits 6 and 8 until aug 1, 2018, the code to do so should be removed on or after that date.
LOCK(cs_main);
                mapBlockSource.emplace(pblock->GetHash(), std::make_pair(pfrom->GetId(), false));
            }
            bool fNewBlock = false;
            
            
            
            
            
            
            
            
            
            ProcessNewBlock(chainparams, pblock, true, &fNewBlock);
            if (fNewBlock) {
                pfrom->nLastBlockTime = GetTime();
            } else {
                LOCK(cs_main);
                mapBlockSource.erase(pblock->GetHash());
            }
            LOCK(cs_main); 
            if (pindex->IsValid(BLOCK_VALID_TRANSACTIONS)) {
                
                
                
                
                MarkBlockAsReceived(pblock->GetHash());
            }
        }
    }