]> git.rkrishnan.org Git - functorrent.git/commit
get the piece length and store it as piecestate
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Fri, 24 Jul 2015 11:00:24 +0000 (16:30 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Fri, 24 Jul 2015 11:00:27 +0000 (16:30 +0530)
commit08bb2b2c3c7695e62b7476a005e8566b7ba2802d
tree683552e30c7c2d0e10f35241467ee322a411d256
parent6851f654c413b599ba7a71bb059637c1b0579c51
get the piece length and store it as piecestate

This needs to be revisited. Piece Length is the same for all pieces
but we are storing it for every piece number, which is a waste.
src/FuncTorrent/Peer.hs