[BitTorrent] hash-based requests

Justin Cormack justin at street-vision.com
Mon Feb 14 18:09:09 EST 2005

Have been thinking about the idea of making all requests and have messages
refer to hashes rather than block offsets.

It all works pretty well except that at the beginning when you only have the
root hash, you can be sent a have message for a block you know nothing about
because you dont yet have the tree (you dont even know which torrent it is
from yet). Has anyone thought of a solution to this yet? You could store them
but this gives a potential DoS by just making up random numbers and saying you
have those pieces.

The other alternative is a two-phase protocol where you first obtain the Merkle
tree before you can do anything else.

Or is there some better way?


Yahoo! Groups Links

<*> To visit your group on the web, go to:

<*> To unsubscribe from this group, send an email to:
    BitTorrent-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

More information about the BitTorrent mailing list