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

Recover swap requests after process interruption #5

Closed
Tracked by #11
scilio opened this issue Aug 20, 2022 · 0 comments · Fixed by #16
Closed
Tracked by #11

Recover swap requests after process interruption #5

scilio opened this issue Aug 20, 2022 · 0 comments · Fixed by #16

Comments

@scilio
Copy link
Collaborator

scilio commented Aug 20, 2022

The first mwixnet node keeps all unfinished swap requests in volatile memory. Since CoinSwaps will only occur a few times per day, a process interruption could result in lots of swap requests being lost. We should instead serialize all unfinished swaps to disk and automatically recover them when an interrupted process is restored.

#3 (comment)

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 a pull request may close this issue.

1 participant