For software that interfaces with Bitcoin Core via RPC, it can be useful to know whether the fRelayTxes flag is set. It could be added to `getnetworkinfo`.

messageHandlerCondition.notify_one();
        }
    }
    return true;
}
int CNetMessage::readHeader(const char *pch, unsigned int nBytes)
{
    
    unsigned int nRemaining = 24 - nHdrPos;
    unsigned int nCopy = std::min(nRemaining, nBytes);
    memcpy(&hdrbuf[nHdrPos], pch, nCopy);
    nHdrPos += nCopy;
    
    if (nHdrPos < 24)
        return nCopy;
    
    try {
        hdrbuf >> hdr;
    }
    catch (const std::exception&) {
        return -1;
    }
    
    if (hdr.nMessageSize > MAX_SIZE)
            return -1;
    
    in_data = true;
    return nCopy;
}
int CNetMessage::readData(const char *pch, unsigned int nBytes)