Quoting Haxe <[EMAIL PROTECTED]> from ml.softs.gtk-gnutella.devel: :On Saturday 04 November 2006 22:36, Raphael Manfredi wrote: :> That's nonsense. With TTH, you'd simply keep losing the chunks you :> downloaded as being "bad". In the end, you would not get the whole :> file either. : :Not quite. If your file has 1000 sources, and only one of these sources :is "evil", then a bad chunk will on the next try very likely be :downloaded from another source, and will thus be correct. Which is the :whole point of TTH.
Your point is very good, but assumes that the TTH and the SHA1 are in sync. Which is not guaranteed. Think about a bad TTH that would cause you to reject all the chunks despite them belonging to the proper file for which you have the SHA1. :On the other hand, even if you wouldn't get the correct file anyway, it :would be helpful to know this as early as possible. Nothing is more :frustrating than a very big file that took days to download being :rejected because of a bad SHA1. If that's not hooking you on doing it, then it's still not frustrating enough. :-) :That said, I still wouldn't consider TTH the most important feature. :In practice, I only see problems with evil sources when the file is :comparatively small, and when there are very many sources. And in these :cases, there will always be alternative versions of the desired file :with a moderately lower number of sources that will download correctly. I think TTH is important, yet in the Grand Prioritization Scheme, it always comes after something else. Hence it's never been implemented. Raphael ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Gtk-gnutella-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
