Store hybrid torrents using "torrent ID" as basename

This commit is contained in:
Vladimir Golovnev (Glassez)
2022-01-21 19:50:15 +03:00
parent c40408b337
commit 7a539d9890
4 changed files with 117 additions and 41 deletions

View File

@@ -65,6 +65,9 @@ namespace BitTorrent
InfoHash() = default;
InfoHash(const WrappedType &nativeHash);
#ifdef QBT_USES_LIBTORRENT2
InfoHash(const SHA1Hash &v1, const SHA256Hash &v2);
#endif
bool isValid() const;
SHA1Hash v1() const;