Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport resuming downloads #64
Closed
Comments
This comment has been minimized.
This comment has been minimized.
|
Note that I'm opening this to track the issue but expect to have it implemented sometime this week. |
This comment has been minimized.
This comment has been minimized.
|
This is now implemented pending approval across my PRs to bittorrent-client https://github.com/feross/bittorrent-client/pull/20 and webtorrent #63. |
This comment has been minimized.
This comment has been minimized.
|
Closing because this has been implemented for a while. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Now that webtorrent is fs-backed, when a torrent is added, we should check for existing files in the destination directory, verifying piece hashes to properly initialize the storage state, and only then proceed with the download. If the torrent already exists and verifies as completed, no downloading should take place, just seeding.
webtorrent.app will take care of persisting torrent metadata across runs, along with known peers.