[BitTorrent] Re: Request for protocol extension: get_info/info

Justin Cormack justin at street-vision.com
Wed Jan 19 12:39:18 EST 2005

> The scheme as described by Bram still leaves file names and an info-hash
> value per file in the torrent file.  This is good for compatibility with
> BT1, but I'd prefer for info-blobs in BT2 to be a very small.  Twenty
> bytes would be a good size (just the SHA1 of the root).  Everything else
> could be embedded in the piece data (file length, file names, an index
> to the files in case you just want part of the data).  There could be an
> agreement that piece info hash are computed for every 1K bytes, so piece
> size is gone.  You wouldn't waste bandwidth sending SHA1 data down to 1K
> byte leaves, because data is sent in bigger gulps than that.
> The two things the torrent file needs is a tracker url (8 bytes) and an
> info blob (20 bytes).  Then, we could share torrents trivially.

I would be inclined to get rid of the multiple file thing completely, it
adds complexity without adding much power. You can either download multiple
torrents to get seperate files, or use a filesystem image if you want real
files, or a zip/tar or whatever. These allow you to store real file attributes
and so on.


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