logo       

CVS: BitTorrent/BitTorrent download.py,1.133,1.134: msg#00204

network.bit-torrent.general

Subject: CVS: BitTorrent/BitTorrent download.py,1.133,1.134

Update of /cvsroot/bittorrent/BitTorrent/BitTorrent
In directory sc8-pr-cvs1:/tmp/cvs-serv13122/BitTorrent

Modified Files:
download.py
Log Message:
zero-padded ids so they can compress better

Index: download.py
===================================================================
RCS file: /cvsroot/bittorrent/BitTorrent/BitTorrent/download.py,v
retrieving revision 1.133
retrieving revision 1.134
diff -C2 -d -r1.133 -r1.134
*** download.py 27 Mar 2003 04:40:23 -0000 1.133
--- download.py 28 Mar 2003 01:01:17 -0000 1.134
***************
*** 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,
--- 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,



------------------------ 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>
Google Custom Search

News | FAQ | advertise