Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify if this shares files #26

Closed
anarcat opened this issue Apr 18, 2016 · 1 comment
Closed

clarify if this shares files #26

anarcat opened this issue Apr 18, 2016 · 1 comment

Comments

@anarcat
Copy link

anarcat commented Apr 18, 2016

it is unclear from the description if this tool actually starts sharing files once they are downloaded locally. it would be great to have more information about how this is implemented, basically - which library is running in the back, does it stream files and generally how it works and so on.

@johang
Copy link
Owner

johang commented Apr 23, 2016

To answer your questions:

  1. Yes, it shares as long as it's mounted.
  2. It uses libtorrent (http://www.libtorrent.org/)
  3. BTFS maintains a sliding window of pieces (https://en.wikipedia.org/wiki/Sliding_window_protocol). When a program reads a file, this window will be moved to that offset. The window will be moved forward when pieces finish.

@johang johang closed this as completed Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants