LeastAuthority / destiny

Destiny – Cross-platform Magic Wormhole graphical client
MIT License
249 stars 14 forks source link

[Feature] Are there plans to have bittorrent style p2p pause / resume / interruption support? #253

Open tdbe opened 1 year ago

tdbe commented 1 year ago

Seeing this issue mentioning temp files get left behind, made me think (hope) there is (going to be) support to resume a download.

Torrent style p2p is fire and forget -- you know the file will eventually get there. Syncthing does this.

And especially on phones it's good to support this in case:

However I can imagine that this feature might not be easy to support on iOS given that they don't really expose any sort of filesystem to you. Unless idk you can solve it somehow with persistent/joinable internal temp files.

Cheers ♥

meejah commented 1 year ago

The next-generation file-transfer protocol based on "Dilation" will support resuming and interruptions.

I cannot say when that might make it to this implementation, however; the Python library supports Dilation and there are current efforts to implement it in Rust.