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

client/core: allow maker match status MatchConfirmed when redeem can't be reported #2509

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

buck54321
Copy link
Member

@buck54321 buck54321 commented Sep 8, 2023

I had to do this in order for the simnet-trade-tests makerghost test to pass, e.g. ./run dcrbtrc -t makerghost.

When we, for the purposes of testing, intentionally block the maker from sending their redeem \o the server, the maker is stuck in the status MakerSwapCast. The server will eventually revoke the match, and the maker seems to be stuck in MakerSwapCast indefinitely, never satisfying the test, but more importantly blocking the order from being retired.

In practice, this would be like the maker losing contact with the server before redeeming and not establishing contact again until after the server revokes the match. So unless I'm missing something, this scenario is possible, could be caused by user intervention, and we're just not handling it.

closes #2465

@JoeGruffins
Copy link
Member

closes #2465 ?

@buck54321 buck54321 merged commit 6612db3 into decred:master Sep 26, 2023
5 checks passed
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.

simnet-trade-tests: makerghost test not resolving
4 participants