{"id":93570,"date":"2020-09-07T19:42:05","date_gmt":"2020-09-07T17:42:05","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2"},"modified":"2020-09-07T19:42:05","modified_gmt":"2020-09-07T17:42:05","slug":"vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2","status":"publish","type":"post","link":"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2","title":{"rendered":"Vyd\u00e1n\u00ed libtorrent 2.0 s podporou protokolu BitTorrent 2","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/blog.libtorrent.org\/2020\/09\/bittorrent-v2\/\">P\u0159edstaven\u00ed<\/a><\/noindex> v\u00fdznamn\u00e1 vyd\u00e1n\u00ed knihovny <noindex><a rel=\"nofollow\" href=\"https:\/\/www.libtorrent.org\/\">libtorrent 2.0<\/a><\/noindex> (zn\u00e1m\u00e1 tak\u00e9 jako libtorrent-rasterbar), kter\u00e1 nab\u00edz\u00ed implementaci protokolu BitTorrent, efektivn\u00ed z pohledu spot\u0159eby pam\u011bti a z\u00e1t\u011b\u017ee na CPU. Knihovna <noindex><a rel=\"nofollow\" href=\"https:\/\/www.libtorrent.org\/projects.html\">je vyu\u017e\u00edv\u00e1na<\/a><\/noindex> v takov\u00fdch torrentov\u00fdch klientech, jako jsou  <noindex><a rel=\"nofollow\" href=\"https:\/\/deluge-torrent.org\/\">Deluge<\/a><\/noindex>,  <noindex><a rel=\"nofollow\" href=\"https:\/\/www.qbittorrent.org\/\">qBittorrent<\/a><\/noindex>,  <noindex><a rel=\"nofollow\" href=\"http:\/\/www.mac-downloader.com\/\">Folx<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/lincetorrent.sourceforge.net\/\">Lince<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/getmiro.com\/\">Miro<\/a><\/noindex> a <noindex><a rel=\"nofollow\" href=\"https:\/\/sourceforge.net\/projects\/flush\/\">Flush<\/a><\/noindex> (nesm\u00ed se zam\u011b\u0148ovat s jinou knihovnou <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/rakshasa\/libtorrent\">libtorrent<\/a><\/noindex>, kter\u00e1 se pou\u017e\u00edv\u00e1 v rTorrent). K\u00f3d libtorrent je naps\u00e1n v jazyce C++ a <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/arvidn\/libtorrent\">distribuov\u00e1no<\/a><\/noindex> na z\u00e1klad\u011b licence BSD.<\/p>\n<p>Vyd\u00e1n\u00ed je v\u00fdznamn\u00e9 <noindex><a rel=\"nofollow\" href=\"http:\/\/libtorrent.org\/upgrade_to_2.0-ref.html\">p\u0159id\u00e1n\u00edm<\/a><\/noindex> podporou protokolu <noindex><a rel=\"nofollow\" href=\"http:\/\/bittorrent.org\/beps\/bep_0052.html\">BitTorrent v2<\/a><\/noindex>, ve kter\u00e9m do\u0161lo k opu\u0161t\u011bn\u00ed algoritmu SHA-1, kter\u00fd m\u011bl <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52149\">probl\u00e9my<\/a><\/noindex> s v\u00fdb\u011brem koliz\u00ed ve prosp\u011bch SHA2-256. SHA2-256 se pou\u017e\u00edv\u00e1 jak pro kontrolu integrity blok\u016f dat, tak pro z\u00e1znamy v indexech (info-dictionary), co\u017e naru\u0161uje kompatibilitu s DHT a trackery. Pro magnetick\u00e9 odkazy na torrenty s hashovac\u00edmi hodnotami SHA2-256 byl navr\u017een nov\u00fd prefix \u201eurn:btmh:\u201c (pro SHA-1 a hybridn\u00ed torrenty se pou\u017e\u00edv\u00e1 \u201eurn:btih:\u201c).<\/p>\n<p>Jeliko\u017e nahrazen\u00ed hashovac\u00ed funkce naru\u0161uje kompatibilitu protokolu (pole s hashem 32 bajt\u016f m\u00edsto 20 bajt\u016f), v\u00fdvoj specifikace BitTorrent v2 byl p\u016fvodn\u011b prov\u00e1d\u011bn bez ohledu na zp\u011btnou kompatibilitu a byly p\u0159ijaty dal\u0161\u00ed podstatn\u00e9 zm\u011bny, jako nap\u0159\u00edklad pou\u017eit\u00ed Merkleho hash stromu v indexech pro zmen\u0161en\u00ed velikosti torrentov\u00fdch soubor\u016f a kontrolu st\u00e1hnut\u00fdch dat na \u00farovni blok\u016f.<\/p>\n<p>Mezi zm\u011bnami v BitTorrent v2 se tak\u00e9 vyzdvihuje p\u0159echod k p\u0159i\u0159azen\u00ed jednotliv\u00fdch hash strom\u016f k ka\u017ed\u00e9mu souboru a aplikace vyrovn\u00e1v\u00e1n\u00ed soubor\u016f po \u010d\u00e1stech (bez p\u0159id\u00e1n\u00ed p\u0159\u00eddavn\u00e9ho vypln\u011bn\u00ed po ka\u017ed\u00e9m souboru), co\u017e umo\u017e\u0148uje zbavit se duplicitn\u00edch dat p\u0159i existenci stejn\u00fdch soubor\u016f a usnad\u0148uje identifikaci r\u016fzn\u00fdch zdroj\u016f pro soubory. Zv\u00fd\u0161ila se \u00fa\u010dinnost k\u00f3dov\u00e1n\u00ed struktury adres\u00e1\u0159\u016f v torrentech a byly p\u0159id\u00e1ny optimalizace pro zpracov\u00e1n\u00ed velk\u00e9ho po\u010dtu drobn\u00fdch soubor\u016f. <\/p>\n<p>Pro vyhlazen\u00ed koexistence BitTorrent v1 a BitTorrent v2 byla realizov\u00e1na mo\u017enost vytv\u00e1\u0159en\u00ed hybridn\u00edch torrentov\u00fdch soubor\u016f, kter\u00e9 zahrnuj\u00ed krom\u011b struktur s hashi SHA-1 i indexy s SHA2-256.<br \/>\nUveden\u00e9 hybridn\u00ed torrenty mohou b\u00fdt pou\u017e\u00edv\u00e1ny s klienty, kte\u0159\u00ed podporuj\u00ed pouze protokol BitTorrent v1. O\u010dek\u00e1van\u00e1 podpora protokolu WebTorrent v libtorrent 2.0 byla z d\u016fvodu nevy\u0159e\u0161en\u00fdch probl\u00e9m\u016f se stabilitou <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/arvidn\/libtorrent\/pull\/4123#issuecomment-687603627\">odlo\u017eena<\/a><\/noindex> do p\u0159\u00ed\u0161t\u00edho v\u00fdznamn\u00e9ho vyd\u00e1n\u00ed, kter\u00e9 vyjde nejd\u0159\u00edve na konci roku. <\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Zdroj: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=53669\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libtorrent 2.0 (\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430 \u0442\u0430\u043a\u0436\u0435 \u043a\u0430\u043a libtorrent-rasterbar), \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0449\u0435\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 BitTorrent, \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430 CPU. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0430 \u0432 \u0442\u0430\u043a\u0438\u0445 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043b\u0438\u0435\u043d\u0442\u0430\u0445, \u043a\u0430\u043a Deluge, qBittorrent, Folx, Lince, Miro \u0438 Flush (\u043d\u0435 \u043f\u0443\u0442\u0430\u0442\u044c \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 libtorrent, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 rTorrent). \u041a\u043e\u0434 libtorrent \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 C++ \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-93570","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libtorrent.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a libtorrent 2.0 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 BitTorrent 2 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libtorrent.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-09-07T17:42:05+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-09-07T17:42:05+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Verze libtorrent 2.0 s podporou protokolu BitTorrent 2 | ProHoster","description":"Bylo p\u0159edstaveno v\u00fdznamn\u00e9 vyd\u00e1n\u00ed knihovny libtorrent.","canonical_url":"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"cs_CZ","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a libtorrent 2.0 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 BitTorrent 2 | ProHoster","og:description":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 libtorrent.","og:url":"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-libtorrent-2-0-s-podderzhkoj-protokola-bittorrent-2","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-09-07T17:42:05+00:00","article:modified_time":"2020-09-07T17:42:05+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"93570","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 11:45:27","updated":"2022-09-30 00:32:15","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/93570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/comments?post=93570"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/93570\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/media?parent=93570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/categories?post=93570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/tags?post=93570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}