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

Detect and handle corrupted SPV state allowing user-initiated resync. #6961

Merged
merged 1 commit into from Dec 10, 2023
Merged

Conversation

ghost
Copy link

@ghost ghost commented Dec 9, 2023

Resolves #6714, resolves #6844, resolves #6371, resolves #5050

PRE:

Corrupted SPV resulted in the following message, user can do nothing / the app will not start. User would have to manually delete bisq.spvchain. In-progress trades can be thrown into an error state such as "NullPointerError" & "Locked up funds from failed trade".

IllegalStateException_pre


POST:

Corrupted SPV will result in a message that has an option to initiate an SPV resync from the app. This is safer because a semaphore protects the state of Bisq trades.

IllegalStateException_post

Copy link
Collaborator

@HenrikJannsen HenrikJannsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Copy link
Contributor

@alejandrogarcia83 alejandrogarcia83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@alejandrogarcia83 alejandrogarcia83 merged commit 3f8fedd into bisq-network:master Dec 10, 2023
3 checks passed
@alejandrogarcia83 alejandrogarcia83 added this to the v1.9.15 milestone Dec 10, 2023
@ghost ghost mentioned this pull request Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment