-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add option for mediator to resend PeerOpenedDisputeMessage to non-resposive peer. #6690
Comments
This would be a useful feature. Occasionally myself an @leo816 have missing mediation tickets for one of the traders. @HenrikJannsen is this something you can review? |
Another option would be to not start the P2P network when doing a SPV resync. Would also lower CPU usage. Not sure how complex that would be and if it would have follow up issues. But maybe worth to look into. |
@HenrikJannsen An SPV resync can be initiated from the GUI or from the filesystem. Users sometimes have to do it from the filesystem because their Bisq app won't start otherwise - for example if BitcoinJ is reporting an error. If the latter option is chosen the Bisq app has no knowledge that an SPV resync is underway -- and no way of deciding whether to disable the P2P network. |
True. So then this option has to be dropped. Then your suggestion is probably the best we can do. |
Would be good for this to be implemented. I had 3 cases this cycle of missing mediation tickets. All were resolved when the users opened mediation on their instances and the ticket appeared (on both their and my instances). Not sure it is always an SPV resync that causes this. Maybe there are other reasons the peer does not receive the message to open a mediation chat. There was also once case where a user sent a trade to arbitration and a ticket was not opened on their instance. Error message was:
It is an unconfirmed DPT not sure if the additional time some the deposits take to confirm cause problems with the messaging system also? Does the client treat the lack of confirmation for multiple hours as a failed transaction, when it is just caught up in the mempool queue? @jmacxx could the proposed solution also be applied to arbitration tickets also? This would mitigate the chance of off Bisq reimbursements from being needed. |
Description
Described here by @pazza83, user may never receive mediation ticket if issued in the middle of them performing an SPV resync. This is because their Bisq instance is up / receptive but the infrastructure components are not active / listening, so any protocol messages received during an SPV resync are dropped.
PeerOpenedDisputeMessage
while he is in the middle of syncing the chain.Bob is unaware that mediation was started, and mediator is unable to communicate with Bob.
We need Bob to get a mediation ticket in order to resolve his trade.
From @pazza83:
Proposed solution
Allow the Mediator's instance to:
PeerOpenedDisputeMessage
to Bob.Considerations
This proposed change, being a special case (as with most bug fixes) would slightly increase complexity in the DisputeManager code. I would like concept approval from a reviewer before proceeding with the solution.
The text was updated successfully, but these errors were encountered: