[bisq-network/bisq] Improve bisq setup (#4592)

chimp1984 notifications at github.com
Sat Oct 3 02:59:14 UTC 2020


Provides a new AppStartupState class for listening for combined startup states. 
Extract domain startup code to a new class to avoid that BisqSetup gets overloaded.

We often need to wait until network and wallet is ready or other combination of startup states.
To avoid those repeated checks for the state or setting of listeners on different domains we provide here a
collection of useful states.

Please do not merge before #4589 is merged
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add AppStartupState and DomainInitialisation.accountAgeWitnessService
  * Extract domain initialisation to domainInitialisation class
  * Refactor: rearrange methods

-- File Changes --

    A core/src/main/java/bisq/core/app/AppStartupState.java (149)
    M core/src/main/java/bisq/core/app/BisqSetup.java (382)
    A core/src/main/java/bisq/core/app/DomainInitialisation.java (249)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4592.patch
https://github.com/bisq-network/bisq/pull/4592.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/4592
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201002/6262f5e5/attachment.html>


More information about the bisq-github mailing list