[bisq-network/bisq] Remind user when their DAO state needs to be refreshed (#5552)

jmacxx notifications at github.com
Thu Jun 3 01:37:44 CEST 2021


As described in #5393, having a DAO state that is in conflict can cause issues and unnecessary mediation cases.

Unfortunately, users are not notified when their DAO state is in conflict with seednodes, it is only shown by checking DAO -> Network Monitor -> Dao State.

This PR attempts to rectify that by checking the DAO state whenever Bisq has completed the block sync.  If the DAO is reporting a conflict then a popup will be shown to the user asking them to resync .  To avoid annoyance, this popup will only be shown at most once per session (and then only if a resync is needed).

This PR only checks the overall DAO state, not the voting or proposals state.  This is intentional, since proposal and voting states are only applicable to a small subset of users whereas the goal of this PR is to prevent problems in trading.

### Screenshot

![image](https://user-images.githubusercontent.com/47253594/120564579-dccd7b80-c3d0-11eb-9274-4ae47d251e82.png)

You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/5552

-- Commit Summary --

  * warn user when DAO needs resync

-- File Changes --

    M core/src/main/java/bisq/core/dao/DaoFacade.java (5)
    M core/src/main/resources/i18n/displayStrings.properties (1)
    M desktop/src/main/java/bisq/desktop/main/presentation/DaoPresentation.java (7)
    M desktop/src/main/java/bisq/desktop/util/GUIUtil.java (4)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5552.patch
https://github.com/bisq-network/bisq/pull/5552.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5552
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210602/1b3ff526/attachment.htm>


More information about the bisq-github mailing list