|
CVS: BitTorrent/BitTorrent download.py,1.135,1.136: msg#00212network.bit-torrent.general
Update of /cvsroot/bittorrent/BitTorrent/BitTorrent In directory sc8-pr-cvs1:/tmp/cvs-serv4344/BitTorrent Modified Files: download.py Log Message: bug fix Index: download.py =================================================================== RCS file: /cvsroot/bittorrent/BitTorrent/BitTorrent/download.py,v retrieving revision 1.135 retrieving revision 1.136 diff -C2 -d -r1.135 -r1.136 *** download.py 28 Mar 2003 02:10:45 -0000 1.135 --- download.py 28 Mar 2003 03:05:45 -0000 1.136 *************** *** 168,172 **** finflag = Event() ann = [None] ! myid = sha(repr(time()) + ' ' + str(getpid())).digest() seed(myid) pieces = [info['pieces'][x:x+20] for x in xrange(0, --- 168,172 ---- finflag = Event() ann = [None] ! myid = (chr(0) * 12) + sha(repr(time()) + ' ' + str(getpid())).digest()[-8:] seed(myid) pieces = [info['pieces'][x:x+20] for x in xrange(0, *************** *** 241,245 **** len(pieces), storagewrapper.is_everything_pending, EndgameDownloader, upmeasure, config['max_upload_rate'] * 1024, rawserver.add_task) ! infohash = (chr(0) * 12) + sha(bencode(info)).digest()[-8:] encrypter = Encrypter(connecter, rawserver, myid, config['max_message_length'], rawserver.add_task, --- 241,245 ---- len(pieces), storagewrapper.is_everything_pending, EndgameDownloader, upmeasure, config['max_upload_rate'] * 1024, rawserver.add_task) ! infohash = sha(bencode(info)).digest() encrypter = Encrypter(connecter, rawserver, myid, config['max_message_length'], rawserver.add_task, ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/dkFolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: BitTorrent-unsubscribe@xxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS: BitTorrent btdownloadgui.py,1.50,1.51: 00212, Bram Cohen |
|---|---|
| Next by Date: | CVS: BitTorrent credits.txt,1.13,1.14: 00212, Bram Cohen |
| Previous by Thread: | CVS: BitTorrent btdownloadgui.py,1.50,1.51i: 00212, Bram Cohen |
| Next by Thread: | CVS: BitTorrent credits.txt,1.13,1.14: 00212, Bram Cohen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |