#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.
uint256 hashRecentRejectsChainTip;
    
    struct QueuedBlock {
        uint256 hash;
        const CBlockIndex* pindex;                               
        bool fValidatedHeaders;                                  
        std::unique_ptr<PartiallyDownloadedBlock> partialBlock;  
    };
    std::map<uint256, std::pair<NodeId, std::list<QueuedBlock>::iterator> > mapBlocksInFlight;
    
    std::list<NodeId> lNodesAnnouncingHeaderAndIDs;
    
    int nPreferredDownload = 0;
    
    int nPeersWithValidatedDownloads = 0;
    
    int g_outbound_peers_with_protect_from_disconnect = 0;
    
    std::atomic<int64_t> g_last_tip_update(0);
    
    typedef std::map<uint256, CTransactionRef> MapRelay;
    MapRelay mapRelay;
    
    std::deque<std::pair<int64_t, MapRelay::iterator>> vRelayExpiration;
} 
namespace {
struct CBlockReject {
    unsigned char chRejectCode;
    std::string strRejectReason;
    uint256 hashBlock;