| 424 | return ""; |
| 425 | } |
| 426 | std::string PingTimeToString(double seconds) const |
| 427 | { |
| 428 | if (seconds < 0) return ""; |
| 429 | const double milliseconds{round(1000 * seconds)}; |
| 430 | return milliseconds > 999999 ? "-" : ToString(milliseconds); |
| 431 | } |
| 432 | std::string ConnectionTypeForNetinfo(const std::string& conn_type) const |
| 433 | { |
| 434 | if (conn_type == "outbound-full-relay") return "full"; |
nothing calls this directly
no test coverage detected