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

}
        
        
        
        if (!fReindex && !fImporting && !IsInitialBlockDownload())
        {
            GetMainSignals().Broadcast(nTimeBestReceived);
        }
        
        
        
        {
            
            
            
            
            
            
            
            LOCK(pto->cs_inventory);
            vector<CBlock> vHeaders;
            bool fRevertToInv = (!state.fPreferHeaders || pto->vBlockHashesToAnnounce.size() > MAX_BLOCKS_TO_ANNOUNCE);
            CBlockIndex *pBestIndex = NULL; 
            ProcessBlockAvailability(pto->id); 
            if (!fRevertToInv) {
                bool fFoundStartingHeader = false;
                
                
                
                BOOST_FOREACH(const uint256 &hash, pto->vBlockHashesToAnnounce) {