Official eMule-Board: Number Of Estimated Sources In Kad - Official eMule-Board

Jump to content


Page 1 of 1

Number Of Estimated Sources In Kad

#1 User is offline   giudecca 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 17-May 11

Posted 17 May 2011 - 01:39 PM

Dear aMule developpers,

I am interested in the way the number of estimated sources is computed for the files retrieved after a keyword search .

After some investigations of the source code, it seems that the number of sources is computed on the publisher side and not on the DHT side. In fact, the publisher seems to evaluate the number of sources thanks to the Download requests they sent (if they are downloading) or received for a shared file. Then, with a Kademlia2_Publish_key_req, they announce this number of sources in the DHT.

Can you please confirm that the number of sources is computed in that way?

If it is, I don't understand how a peer who just join the network and who does not have time to receive much requests for its shared files can perform a publication with an accurate number of sources: may be the number of sources is saved from previous sessions? Moroever, if the number of sources is announced by the publisher, it would be very easy to lie about this number and make garbage files popular and popular files disappear in the bottom of the list.

Thank you very much for your answers.

Regards,
0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users