deltachat / deltachat-core-rust

Delta Chat Rust Core library, used by Android/iOS/desktop apps, bindings and bots 📧
https://delta.chat/en/contribute
Other
659 stars 85 forks source link

Port backup transfer to recent iroh #5702

Closed link2xt closed 2 months ago

link2xt commented 3 months ago

Currently we use iroh 0.4 branch for backup transfer and recent version of iroh for webxdc realtime message. To avoid building multiple versions of iroh we need to port backup tranfer to the same version as used for realtime channels.

API that we currently use for backup transfer seems to be moved into iroh_blobs crate. However, its store implementation now depends on redb: https://docs.rs/iroh-blobs/0.18.0/iroh_blobs/store/fs/index.html Recent version of sendme tool essentially builds a redb database just to send the file, we likely don't want this and should build directly on top of iroh-net instead.