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`.

int nMisbehavior;
    
    bool fShouldBan;
    
    std::string name;
    
    std::vector<CBlockReject> rejects;
    
    CBlockIndex *pindexBestKnownBlock;
    
    uint256 hashLastUnknownBlock;
    
    CBlockIndex *pindexLastCommonBlock;
    
    CBlockIndex *pindexBestHeaderSent;
    
    bool fSyncStarted;
    
    int64_t nStallingSince;
    list<QueuedBlock> vBlocksInFlight;
    
    int64_t nDownloadingSince;
    int nBlocksInFlight;
    int nBlocksInFlightValidHeaders;
    
    bool fPreferredDownload;
    
    bool fPreferHeaders;
    CNodeState() {