CRC Checker vs TTH ! !

Archived discussion about features (predating the use of Bugzilla as a bug and feature tracker)

Moderator: Moderators

Locked
zerostealth
Posts: 1
Joined: 2004-04-18 12:02

CRC Checker vs TTH ! !

Post by zerostealth » 2004-04-18 12:34

An excellent addon to DC++ would be some sort of CRC checker where it displays the code after checking the file.

TTH is an excellent feature if you want to make sure that you aren't downloading a fragmented file from a user but the correct file.

File corruption happens alot is when users download a file from multiple sources and one source leaves then he resumes from another. This often results in the content of the file being misplaced and different although the file size is the same as the original.

I always try to pick the files which contains the most similar TTH lines, which means if everyone has it its not corrupt :). But then again from time to time this doesn't hold true. I've seen multiple users with the same TTH and the files were corrupted. Maybe they downloaded something big and found out its corrupt so their too lazy to redownload it or delete it :P. This can be a pain if your downloading something over 500mb and have to redownload it after you find out its corrupt.

One method to further prevent this from happening is to implement a CRC checker. Although its NOT GUARANTEED that the file your downloading isn't going to be corrupt because in one case, not all authors will put the CRC code of the file your downloading on their website(althought you can ask).

The author or user of the original files sometimes will put up a CRC code on their website to ensure that when you download the file, it's the same as the original and not corrupt or different.

TTH + CRC = almost impossible to download a corrupted file :).
Just a suggestion.

-stealth

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-04-18 13:06

TTHes are much less prone to collisions (where two files have the same ID) than CRC-32s.

Furthermore, DC++ already includes a SFV checker.

Qbert
Posts: 73
Joined: 2003-06-07 03:12

Post by Qbert » 2004-04-18 15:57

What method does the safe and compressed downloads option do?
My Visual Studio .NET 2003 is licensed under my name, and the same for my operating system... What about you?
I surf on an OC3 without limitations, two to be exact, and I'm not joking.

Todi
Forum Moderator
Posts: 699
Joined: 2003-03-04 12:16
Contact:

Post by Todi » 2004-04-18 16:06

If i understand correctly, it's adler32.

Wiki: GetZBlock command

Qbert
Posts: 73
Joined: 2003-06-07 03:12

Post by Qbert » 2004-04-18 16:22

zerostealth wrote:An excellent addon to DC++ would be some sort of CRC checker where it displays the code after checking the file.
Or an even better idea is that if it doesn't display the code but simply checks the data with it, and decides appropriately what to do next. Are you aware of safe and compressed downloads?
My Visual Studio .NET 2003 is licensed under my name, and the same for my operating system... What about you?
I surf on an OC3 without limitations, two to be exact, and I'm not joking.

Locked