Re: Back to Merkle Hash Trees...

Justin Cormack <[email protected]> Fri, 11 Feb 2005 09:56:29 +0000 (GMT)
Newsgroups gmane.network.bit-torrent.general
Message-ID <[email protected]>
> 
> I would tend to use the block hash in REQUEST and PIECE messages because
> that is enough to uniquely identify the block, offset, and which torrent
> it belongs to without any additional information.

no it isnt, 2 torrents could have the same leaf hash somewhere, but be part
of different trees. This would be a problem, as they have different parents.
Also hashes are 20 bytes which is quite long.

It is a nice idea though, and can save TCP connections, just not sure the
complexity of shared blocks makes it worthwhile.

Justin


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/BitTorrent/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/