| 444 | assert(false); |
| 445 | } |
| 446 | std::string PingTimeToString(double seconds) const |
| 447 | { |
| 448 | if (seconds < 0) return ""; |
| 449 | const double milliseconds{round(1000 * seconds)}; |
| 450 | return milliseconds > 999999 ? "-" : ToString(milliseconds); |
| 451 | } |
| 452 | std::string ConnectionTypeForNetinfo(const std::string& conn_type) const |
| 453 | { |
| 454 | if (conn_type == "outbound-full-relay") return "full"; |
nothing calls this directly
no test coverage detected