Skip to content

Conversation

@knocte
Copy link
Member

@knocte knocte commented Jul 4, 2024

We've had one occassion already where a wallet instance was
crashing at start somehow finding invalid JSON. In this case
we can just discard the data and recreate (because it's cache)
however we can do better and just use backups.

TODO:
[ ] Eliminate duplication in last commit.
[ ] Create LoadFromDisk APIs that manage bak save&restore automatically.

knocte added 2 commits July 4, 2024 20:08
It might be interesting to see it, for debugging purposes.
We've had one occassion already where a wallet instance was
crashing at start somehow finding invalid JSON. In this case
we can just discard the data and recreate (because it's cache)
however we can do better and just use backups.
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.

2 participants