mapa17 / Eruliaf

A BitTorrent like overlay peer simulator
GNU General Public License v3.0
1 stars 0 forks source link

Never compeleting peers #30

Closed mapa17 closed 12 years ago

mapa17 commented 12 years ago

It happens that some peers have not downloaded all pieces but are running out of pieces in their request queue. They dont have interest in the pieces of other nodes and because of that never finish the download.

mapa17 commented 12 years ago

I think this is partially the fault because at the end of the super seeding algorithm in the Seeder, the torrent is not marked finished and because of that the seeder is not seeding the whole file.

What still has to be done is, is make peers that have no neighbor with a full file, get more peers from the tracker. -> This could be done by iterating the neighbor list and search a case where we mark all our neighbors as not interesting. If so, get a new peer list