| 468 | } |
| 469 | |
| 470 | static void ShowHop(std::stringstream& s, const i2p::data::IdentityEx& ident) |
| 471 | { |
| 472 | auto identHash = ident.GetIdentHash(); |
| 473 | auto router = i2p::data::netdb.FindRouter(identHash); |
| 474 | s << i2p::data::GetIdentHashAbbreviation(identHash); |
| 475 | if (router) |
| 476 | s << "<small style=\"color:gray\"> " << router->GetBandwidthCap() << "</small>"; |
| 477 | } |
| 478 | |
| 479 | static void ShowLeaseSetDestination (std::stringstream& s, std::shared_ptr<const i2p::client::LeaseSetDestination> dest, uint32_t token) |
| 480 | { |
no test coverage detected