[BitTorrent] Re: bt2 protocol features

John Hoffman theshadow at shambala.net
Thu Jul 15 22:07:49 EDT 2004


>So my suspicion (from what little Bram has said so far) is: binary
>Merkle hash tree, and each PIECE message includes the hashes needed to
>validate that piece.  Why?  Because: 1) anything other than binary is
>silly, 2) if you're not going to use the tree-ness (i.e. you'll
>transfer all leaf hashes) there's no reason to use a tree at all, and
>3) sending the validation data with every piece is much simpler than
>trying to negotiate which hashes are needed--simple is good.
>  
>

1. Tree data is going to be cached, and not all intermediate hashes (or 
even the leaf hash necessarily) will be sent with chunks.

2.  Tree data is needed to validate to the root hash, because otherwise 
an attacker can send deliberately incorrect hashes to verify the data 
against.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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