]> git.mxchange.org Git - quix0rs-apt-p2p.git/commit
Always use SHA1 hashes for pieces.
authorCameron Dale <camrdale@gmail.com>
Fri, 11 Apr 2008 20:00:03 +0000 (13:00 -0700)
committerCameron Dale <camrdale@gmail.com>
Fri, 11 Apr 2008 20:00:03 +0000 (13:00 -0700)
commit2f7adb1f817f4863e22f7a4aa26bb1aa59a83ac6
tree0a829be5fb0bfeee3aca35dfd4e03e44e3ea09ed
parentf0796336aaebe37fdf50d650fdc6fae72dbb4553
Always use SHA1 hashes for pieces.

Only affects non-sha1 files like source files.
Also added a unit test for it.
Also added a unit test for the previous piece boundaries bug.
apt_p2p/Hash.py