diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/TorrentsDHT.cpp /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/TorrentsDHT.cpp --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/TorrentsDHT.cpp 2026-10-05 17:31:53.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/TorrentsDHT.cpp 2026-10-05 17:19:03.000000000 +0000 @@ -697,5 +697,5 @@ if (!node->VerifyID ()) { - LogPrint (eLogInfo, "TorrentsDHT: Query received from node with invalid ID ", node->id.ToBase64 ()); + LogPrint (eLogInfo, "TorrentsDHT: Query received from node with invalid ID ", node->peer.ToBase64 ()); return; } @@ -717,5 +717,5 @@ std::string_view transactionID, const NodeID& nodeID) { - LogPrint (eLogDebug, "TorrentsDHT: Ping query msg received from ", nodeID.ToBase64 ()); + LogPrint (eLogDebug, "TorrentsDHT: Ping query msg received from ", fromIdent.ToBase64 ()); SendPingResponse (transactionID, fromIdent, fromPort + 1); // to rport } @@ -724,5 +724,5 @@ std::string_view transactionID, std::shared_ptr from, const Torrent::InfoHash& infoHash) { - LogPrint (eLogDebug, "TorrentsDHT: Get peers query msg received from ", from->id.ToBase64 ()); + LogPrint (eLogDebug, "TorrentsDHT: Get peers query msg received from ", fromIdent.ToBase64 ()); std::shared_ptr torrent; auto it = m_Torrents.find (infoHash); @@ -792,4 +792,5 @@ uint64_t token, const std::vector& values, const NodeInfo& nodeInfo) { + LogPrint (eLogDebug, "TorrentsDHT: Response msg received"); uint16_t t = 0; if (transactionID.size () >= 2) @@ -811,5 +812,5 @@ case eKRPCQueryGetPeers: { - LogPrint (eLogDebug, "TorrentsDHT: get_peers response received from peer ", ident.ToBase64 ()); + LogPrint (eLogDebug, "TorrentsDHT: get_peers response received from ", ident.ToBase64 ()); if (!values.empty () && values[0].empty ()) // nodes HandleGetPeersResponseNode (info, nodeID, token, nodeInfo); @@ -821,5 +822,5 @@ { auto node = UpdateNode (std::make_shared(nodeInfo)); - LogPrint (eLogDebug, "TorrentsDHT: find_node response received ", node->id.ToBase64 ()); + LogPrint (eLogDebug, "TorrentsDHT: find_node response received ", node->peer.ToBase64 ()); break; } @@ -1036,5 +1037,5 @@ auto [it, inserted] = m_Nodes.emplace (node->id, node); if (inserted) - LogPrint (eLogDebug, "TorrentsDHT: Node ", node->id.ToBase64 (), " added"); + LogPrint (eLogDebug, "TorrentsDHT: Node ", node->peer.ToBase64 (), ":", node->port, " added"); it->second->lastUpdateTime = i2p::util::GetMonotonicSeconds (); if (m_RoutingTable) m_RoutingTable->AddNode (it->second); diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/TorrentsDHT.h /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/TorrentsDHT.h --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd_client/TorrentsDHT.h 2026-10-05 17:31:53.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd_client/TorrentsDHT.h 2026-10-05 17:19:03.000000000 +0000 @@ -28,5 +28,4 @@ #include #include -#include "Base.h" #include "Identity.h" #include "I2PService.h" @@ -80,8 +79,4 @@ return -1; } - std::string ToBase64 () const - { - return i2p::data::ByteStreamToBase64 (data (), size ()); - } };