8000 Handle restoration cases by nickfarrow · Pull Request #247 · frostsnap/frostsnap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Handle restoration cases #247

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

Draft
wants to merge 2 commits into
base: restoration-workflow
Choose a base branch
from

Conversation

nickfarrow
Copy link
Member

This needs a bit more work as it doesn't yet handle the case where the same backup is entered on multiple devices during restoration, it only handles duplicate shares on a plugged in device

nickfarrow added 2 commits May 7, 2025 00:27
We had some tracking of `already_held` on both the dart and rust side,
we weren't using it on the rust side. Removed from rust side, but it may
be worth considering if it belongs there instead.

AlreadyGot wasn't referring to the fact that we received this same share,
but rather that we already have received a share from this device.
This commit now handles both.

Also handle the case of a duplicate plugged in device share.
@nickfarrow nickfarrow force-pushed the handle-restoration-cases branch from d0f8eb8 to f3227f5 Compare May 6, 2025 14:56
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

Successfully merging this pull request may close these issues.

1 participant
0