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 (nonce == pfrom->nPingNonceSent) {
                    
                    bPingFinished = true;
                    int64_t pingUsecTime = pingUsecEnd - pfrom->nPingUsecStart;
                    if (pingUsecTime > 0) {
                        
                        pfrom->nPingUsecTime = pingUsecTime;
                        pfrom->nMinPingUsecTime = std::min(pfrom->nMinPingUsecTime, pingUsecTime);
                    } else {
                        
                        sProblem = "Timing mishap";
                    }
                } else {
                    
                    sProblem = "Nonce mismatch";
                    if (nonce == 0) {
                        
                        bPingFinished = true;
                        sProblem = "Nonce zero";
                    }
                }
            } else {
                sProblem = "Unsolicited pong without ping";
            }
        } else {
            
            bPingFinished = true;
            sProblem = "Short payload";
        }
        if (!(sProblem.empty())) {