[bittorrent] The size of XML (was: DTD for hashed files)

Olaf van der Spek olafvdspek at gmail.com
Tue Apr 12 13:18:10 EDT 2005


On 12 Apr 2005 17:10:13 -0000, larytet.8708132 at bloglines.com
<larytet.8708132 at bloglines.com> wrote:
> the moment you declare that block size is 4MB instead of 16K you don't need
> any binary data in XML. you can keep hashes as strings and size of XML file
> (uncompressed) is going to be ~64K for *G file
> 
> the first argument - hash
> of the torrent file itself, is more interesting. but it is not clear to me
> why do we need hash validation of the torrent file ? XML can be parsed and

Because two torrents with the same contents are supposed to result in
the same info hash.
If you add a space (legal in XML), the info hash changes, but the
(meaning of the) content doesn't.



More information about the BitTorrent mailing list