[BitTorrent] BT2 & hash trees

Olaf van der Spek OvdSpek at LIACS.NL
Sun Jul 18 15:13:29 EDT 2004


Gregorio Roper wrote:

> Hi,
> 
> Is there any chance of using a block size of 1024 bytes for the hash tree, since it 
> completely removes any limitations imposed by the block size, even for small files and 
> it's also the block size recommended by THEX[1] which is used by several p2p networks that 
> could then be used as a backup in case the tracker fails.

I agree with this one, please use a 1 kbyte base segment size for the 
merkle tree.
> 
> I didn't find any comment on how the pieces of a torrent will be addressed. If I 
> understood correctly that BT2 is supposed to allow cross-trading, may I suggest that the 
> pieces be addressed similar to: <file root hash><log2(pieceSize) or level in hash 
> tree><pieceNum>.

Eh, wouldn't it be easier to first exchange lists of files with integer 
IDs and then just use the integer ID (8, 16, 24 or 32 bit) instead of 
the 160 bit hash?


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~-> 

 
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:
    BitTorrent-unsubscribe at yahoogroups.com

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



More information about the BitTorrent mailing list