#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.
if (state.IsInvalid(nDoS)) {
            LOCK(cs_main);
            if (nDoS > 0) {
                Misbehaving(pfrom->GetId(), nDoS, "invalid header received");
            } else {
                LogPrint(BCLog::NET, "peer=%d: invalid header received\n", pfrom->GetId());
            }
            if (punish_duplicate_invalid && LookupBlockIndex(first_invalid_header.GetHash())) {