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

Arbitration broadcast DPT and dispute message in parallel. #6818

Merged
merged 1 commit into from Aug 22, 2023

Conversation

ghost
Copy link

@ghost ghost commented Aug 18, 2023

Fixes #6797

attempt to send the DPT AND open an arbitration ticket

Previously the dispute message would only be sent once the DPT had finished propagation (which can take a few seconds or more on mainnet). To a user it would appear as if their clicking the button had no effect and they would attempt to click again. That would cause the DPT broadcast task to fail (error: broadcastTx called with a tx which has an open timeoutTimer) and it would result in no happy path therefore no Dispute message / ticket being opened.

Testing confirmed there is no requirement for the dispute to be chained on the successful propagation of the DPT to nodes. The send to arbitration can be attempted again if necessary, by pressing CTRL-O / Open support ticket.

Previously the dispute message would only be sent once the DPT had
finished propagation.  To a user it would appear as if nothing
happened and they would attempt to initiate the process again.
That would cause the DPT logic to fail (we already have an
open timer etc..) and the logic failing would result in no
happy path therefore no Dispute message being sent.

Testing confirmed there is no requirement for the dispute to be
chained on the successful propagation of the DPT to nodes.
Both the DPT and the dispute can be attempted again by the user
if necessary.  Rebroadcasting an already published DPT causes
no harm.  Re-sending the dispute message also causes no harm
as there is logic to detect if it already exists and handle it
gracefully.
Copy link
Contributor

@alvasw alvasw 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 e5eaa99 into bisq-network:master Aug 22, 2023
12 checks passed
@alejandrogarcia83 alejandrogarcia83 added this to the v1.9.13 milestone Aug 22, 2023
@ghost ghost mentioned this pull request Sep 20, 2023
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.

Allow users to Open Arbitration ticket if first attempt fails
2 participants