<p>Provides a new AppStartupState class for listening for combined startup states.<br>
Extract domain startup code to a new class to avoid that BisqSetup gets overloaded.</p>
<p>We often need to wait until network and wallet is ready or other combination of startup states.<br>
To avoid those repeated checks for the state or setting of listeners on different domains we provide here a<br>
collection of useful states.</p>
<p>Please do not merge before <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="713330343" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/4589" data-hovercard-type="pull_request" data-hovercard-url="/bisq-network/bisq/pull/4589/hovercard" href="https://github.com/bisq-network/bisq/pull/4589">#4589</a> is merged</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/4592'>https://github.com/bisq-network/bisq/pull/4592</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add AppStartupState and DomainInitialisation.accountAgeWitnessService</li>
  <li>Extract domain initialisation to domainInitialisation class</li>
  <li>Refactor: rearrange methods</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4592/files#diff-505268201e91735d1e0712aa13c4ea20">core/src/main/java/bisq/core/app/AppStartupState.java</a>
    (149)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4592/files#diff-e5c845c57dc70b70babcf8032d5b0e32">core/src/main/java/bisq/core/app/BisqSetup.java</a>
    (382)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4592/files#diff-0e211d4f1627d67602a359227786d2e6">core/src/main/java/bisq/core/app/DomainInitialisation.java</a>
    (249)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/4592.patch'>https://github.com/bisq-network/bisq/pull/4592.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/4592.diff'>https://github.com/bisq-network/bisq/pull/4592.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4592">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNWUGSXEQKT7U5F3EVDSI2HQFANCNFSM4SCLTJWQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNXZQG3XVEODVPMMPW3SI2HQFA5CNFSM4SCLTJW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4KUOT5MQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4592",
"url": "https://github.com/bisq-network/bisq/pull/4592",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>