Re: [Libbt-devel] Re: Features request
Brought to you by:
ksmathers
From: Alien <ali...@us...> - 2005-05-25 12:12:57
|
Op woensdag 25 mei 2005 13:25, schreef Peter Stuge: > On Wed, May 25, 2005 at 12:42:43PM +0200, Diego Casorran wrote: > > just I mean: > > > > when a piece is completed and the hash checked, in addition to save > > that info on memory write it to a text file, therefore on next > > btget run, the file being downloaded shouldn't be necessarily > > checked for completed pieces because that data was previously > > stored on that text file. > > This isn't a bad idea, it is certainly relevant for some cases. > > But I don't think libbt should go about creating lots of data bases > on it's own, I instead suggest that libbt hands the information up to > the calling application, which can then save it any way it likes to. the status of everything is available to the calling application, it can=20 deduce stuff from itself, i don't think piecemanagement is a good idea, fro= m=20 the progress, it can see if some files are completely done, so... > Also, on initializing a torrent with libbt, an optional map of good > pieces could be sent by the application, and libbt would then assume > marked pieces are actually correct. i don't really believe in this... applications shouldn't have anything to d= o,=20 and we cannot assume pieces, uploads could go wrong and stuff. at start, the reading of the file isn't really that slow, and won't interfe= re=20 with down/uploading or system performance anyway... I'd advise against these things... |