You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
There is a fairly recent new BitTorrent standard, the BitTorrent v2.
It has a new, SHA-256 based magnet link format: The magnet link protocol has been extended to support v2 torrents. Like the urn:btih: prefix for v1 SHA-1 info-hashes, there’s a new prefix, urn:btmh: for full v2 SHA0256 info hashes. For example, a magnet link thus looks like this:
The info-hash with the btmh prefix is the v2 info-hash in multi-hash format encoded in hexadecimal. In practice, this means it will have a two byte prefix of 0x12 0x20. It is possible to include both a v1 (btih) and v2 (btmh) info-hash in a magnet link, for backwards compatibility.
For example the following is a valid v2 magnet link: magnet:?xt=urn:btmh:122067EFB3C2FA20CC493979084FB44C6A93F79442AFA4A2E01C8988C1C19775871D
If I try to parse this into Simple Torrent I get the following error message:
It would be great to support this new format.
The text was updated successfully, but these errors were encountered:
There is a fairly recent new BitTorrent standard, the BitTorrent v2.
It has a new, SHA-256 based magnet link format:
The magnet link protocol has been extended to support v2 torrents. Like the urn:btih: prefix for v1 SHA-1 info-hashes, there’s a new prefix, urn:btmh: for full v2 SHA0256 info hashes. For example, a magnet link thus looks like this:
magnet:?xt=urn:btmh:<tagged-info-hash>&dn=<name>&tr=<tracker-url>
The info-hash with the btmh prefix is the v2 info-hash in multi-hash format encoded in hexadecimal. In practice, this means it will have a two byte prefix of 0x12 0x20. It is possible to include both a v1 (btih) and v2 (btmh) info-hash in a magnet link, for backwards compatibility.
For example the following is a valid v2 magnet link:
magnet:?xt=urn:btmh:122067EFB3C2FA20CC493979084FB44C6A93F79442AFA4A2E01C8988C1C19775871D
If I try to parse this into Simple Torrent I get the following error message:
It would be great to support this new format.
The text was updated successfully, but these errors were encountered: