]> git.rkrishnan.org Git - functorrent.git/commit
Move things around
authorJaseem Abid <jaseemabid@gmail.com>
Fri, 10 Apr 2015 02:06:35 +0000 (07:36 +0530)
committerJaseem Abid <jaseemabid@gmail.com>
Fri, 10 Apr 2015 02:39:34 +0000 (08:09 +0530)
commit56904b7b9799590e5dc4899246157961ae02c543
tree2d940c796cf231fef75ae519d0d865ca993061b2
parent5c31236826ca18453f785019e472e775d80ff258
Move things around

- `infoHash` is part of metainfo, not tracker alone. Peers need this for
handshake

- Rename PeerResp to TrackerResponse and move to Tracker.hs

- Remove unwanted overhead like `type Port = Integer`

- Some more docs, haddock is showing them nicely

- Update tests
src/FuncTorrent.hs
src/FuncTorrent/Metainfo.hs
src/FuncTorrent/Peer.hs
src/FuncTorrent/Tracker.hs
src/Main.hs
test/Test.hs