Ho lokolloa hoa hlolla
Ho tloha ha ho nkela sebaka sa ts'ebetso ea hash ho senya ho lumellana ha protocol (sebaka sa hash ke 32 byte ho e-na le li-byte tse 20), tlhaloso ea BitTorrent v2 e ile ea qaptjoa ntle le ho lumellana ka morao kelellong 'me ho ile ha amoheloa liphetoho tse ling tsa bohlokoa, tse kang tšebeliso ea lifate tsa Merkle hash ka li-index. ho fokotsa boholo ba lifaele tsa torrent le ho hlahloba data e jarollotsoeng boemong ba block.
Liphetoho ho BitTorrent v2 li boetse li kenyelletsa phetoho ea ho abela lifate tse arohaneng tsa hash faeleng ka 'ngoe le ts'ebeliso ea ho loants'a lifaele ka likarolo (ntle le ho eketsa padding ka mor'a faele ka' ngoe), e felisang ho pheta-pheta ha data ha ho na le lifaele tse ts'oanang le ho etsa hore ho be bonolo ho li khetholla. mehloli e fapaneng ea lifaele. Ts'ebetso e ntlafalitsoeng ea khouto ea sebopeho sa torrent directory le lintlafatso tse ekelitsoeng bakeng sa ho sebetsana le lifaele tse nyane tse ngata.
Ho theola ho ba teng ha BitTorrent v1 le BitTorrent v2, bokhoni ba ho theha lifaele tsa hybrid torrent bo kentsoe ts'ebetsong, ho kenyelletsa, ho kenyelletsa le meaho e nang le li-hashes tsa SHA-1, li-index tse nang le SHA2-256.
Linonyana tsena tse nyalisitsoeng li ka sebelisoa le bareki ba tšehetsang protocol ea BitTorrent v1 feela. Ts'ehetso bakeng sa protocol ea WebTorrent e lebelletsoeng ho libtorrent 2.0 ka lebaka la mathata a botsitso a sa rarolloang
Source: opennet.ru