inaccurate file hash description in protocol description
Status: Beta
Brought to you by:
klimkin
the description of the edonkey file hash used in your
protocol description is not very accurate, this is your
description:
<File hash> ::= HASH // MD4 of file for
files of unknown type
1) it's clear that this is not only for files of
unknown type but for every file you share in the
edonkey network
2) the file hash is not just the md4 of the file, it's
true if the file consists of only 1 part (<= 9728000
bytes), in that case the file hash= the hash of the
first part.
when there are more parts, the hashes of the parts are
the md4's of those parts, but the file hash is the md4
of the md4 bytes of the part hashes
(I noticed this in the source of
http://ed2k-tools.sourceforge.net/ed2k_hash.shtml\)