mafintosh / torrent-stream

The low level streaming torrent engine that peerflix uses
MIT License
1.94k stars 227 forks source link

enable fast resume of previous torrents #27 #118

Closed bsuh closed 9 years ago

bsuh commented 9 years ago

Write the bitfield of downloaded pieces to disk and the hash of the bitfield as well to verify the file isn't corrupted

bsuh commented 9 years ago

This doesn't worry about downloaded pieces being corrupted by file system malfunctions.

libtorrent, used by Deluge, seems to not check the saved pieces for file corruption http://www.rasterbar.com/products/libtorrent/manual.html#fast-resume either.