Show info hash in log when added a duplicate torrent

Closes #22161.
PR #22505.
This commit is contained in:
Chocobo1
2025-04-08 16:31:04 +08:00
committed by GitHub
parent f0b9a17566
commit ff03eeab5b
8 changed files with 45 additions and 11 deletions

View File

@@ -36,6 +36,8 @@
#include "base/digest32.h"
class QString;
using SHA1Hash = Digest32<160>;
using SHA256Hash = Digest32<256>;
@@ -79,6 +81,8 @@ namespace BitTorrent
SHA256Hash v2() const;
TorrentID toTorrentID() const;
QString toString() const;
operator WrappedType() const;
private: