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

delete entry.second;
    }
    mapBlockIndex.clear();
    fHavePruned = false;
}
bool LoadBlockIndex()
{
    
    if (!fReindex && !LoadBlockIndexDB())
        return false;
    return true;
}
bool InitBlockIndex(const CChainParams& chainparams) 
{
    LOCK(cs_main);
    
    recentRejects.reset(new CRollingBloomFilter(120000, 0.000001));
    
    if (chainActive.Genesis() != NULL)
        return true;
    
    fTxIndex = GetBoolArg("-txindex", DEFAULT_TXINDEX);
    pblocktree->WriteFlag("txindex", fTxIndex);
    LogPrintf("Initializing databases...\n");
    
    if (!fReindex) {