<p>Change the permutation algo to check each permutation as it's created and minimize memory usage. Start with longer lists and remove one item per level. Avoid duplicates by not removing the same item twice.</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/4206'>https://github.com/bisq-network/bisq/pull/4206</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add optimized permutation algo</li>
  <li>Remove dev logs</li>
  <li>Add resync from resources button</li>
  <li>Fix issue with shutdown</li>
  <li>Test permutations level by level</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4206/files#diff-da0c14fbd6b9b0a2cdf500d353864623">common/src/main/java/bisq/common/storage/FileManager.java</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4206/files#diff-37165fe80c8b34d8f007749f1662c054">common/src/main/java/bisq/common/util/PermutationUtil.java</a>
    (68)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4206/files#diff-928176f0716f6a5e798a31a6d17f5292">common/src/test/java/bisq/common/util/PermutationTest.java</a>
    (60)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4206/files#diff-89758c75d807456cc908d782f5b890a9">core/src/main/java/bisq/core/dao/DaoFacade.java</a>
    (14)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4206/files#diff-c39c2d7624ecaf9c611b7c2c5c7e8ba9">core/src/main/java/bisq/core/dao/governance/voteresult/VoteResultService.java</a>
    (28)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4206/files#diff-d2840605cffb0ddb509492650a57ecff">core/src/main/java/bisq/core/dao/state/DaoStateStorageService.java</a>
    (26)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4206/files#diff-2b16c2ca0e92ce28cd7268b07a143647">core/src/main/resources/i18n/displayStrings.properties</a>
    (11)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4206/files#diff-dd37fdd68bbefaae664ff3b4d8b0374f">desktop/src/main/java/bisq/desktop/main/dao/monitor/StateMonitorView.java</a>
    (49)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4206/files#diff-4b017b0d9a41f82aa7cc162f16059c9f">desktop/src/main/java/bisq/desktop/main/settings/preferences/PreferencesView.java</a>
    (46)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4206/files#diff-abf37438b61275138b85e72d9c205cb8">p2p/src/main/java/bisq/network/p2p/network/NetworkNode.java</a>
    (45)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/4206.patch'>https://github.com/bisq-network/bisq/pull/4206.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/4206.diff'>https://github.com/bisq-network/bisq/pull/4206.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/4206">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNQKSISCEFWEQEN5VJDRO7F23ANCNFSM4MTORODQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNW6W3MWPVX5GQQNTODRO7F23A5CNFSM4MTOROD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JCJ5I3Q.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/4206",
"url": "https://github.com/bisq-network/bisq/pull/4206",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>