clarify if this shares files
anarcat opened this issue · comments
anarcat commented
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.
Johan Gunnarsson commented
To answer your questions:
- Yes, it shares as long as it's mounted.
- It uses libtorrent (http://www.libtorrent.org/)
- 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.