#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.
};
/**
 * Maintain validation-specific state about nodes, protected by cs_main, instead
 * by CNode's own locks. This simplifies asynchronous operation, where
 * processing of incoming data is done after the ProcessMessage call returns,
 * and we're no longer holding the node's locks.
 */
struct CNodeState {
    
    const CService address;
    
    bool fCurrentlyConnected;
    
    int nMisbehavior;
    
    bool fShouldBan;
    
    const std::string name;
    
    std::vector<CBlockReject> rejects;
    
    const CBlockIndex *pindexBestKnownBlock;
    
    uint256 hashLastUnknownBlock;
    
    const CBlockIndex *pindexLastCommonBlock;
    
    const CBlockIndex *pindexBestHeaderSent;
    
    int nUnconnectingHeaders;