Issue notable
Since the change in hash function breaks protocol compatibility (a field with a hash of 32 bytes instead of 20 bytes), the development of the BitTorrent v2 specification was initially carried out without regard to backwards compatibility and other significant changes were adopted, such as the use of a Merkle hash tree in indexes to reduce the size torrent files and checking downloaded data at the block level.
The changes in BitTorrent v2 also highlight the transition to linking separate hash trees to each file and the application of file alignment in parts (without adding padding after each file), which allows you to get rid of duplicate data when there are identical files and makes it easier to identify different sources for files ... Improved the efficiency of encoding the directory structure in torrent and added optimizations for processing a large number of small files.
To smooth the coexistence of BitTorrent v1 and BitTorrent v2, the ability to create hybrid torrent files, which include, in addition to structures with SHA-1 hashes, indexes with SHA2-256, is implemented.
These hybrid torrents can be used with clients that only support the BitTorrent v1 protocol. WebTorrent protocol support expected in libtorrent 2.0 due to unresolved stability issues
Source: opennet.ru