<p>We get sometimes Tor startup problems which is related to some tor<br>
files in the tor directory. It happens more often if the application<br>
got killed (not graceful shutdown).<br>
Creating all tor files newly takes about 3-4 sec. longer and it does<br>
not benefit from cache files.<br>
TODO: We should fix those startup problems in the netlayer library,<br>
once fixed there we can remove that call at the<br>
Bisq startup again.</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/2344'>https://github.com/bisq-network/bisq/pull/2344</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Delete tor files at startup</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/2344/files#diff-0">core/src/main/java/bisq/core/CoreModule.java</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/2344/files#diff-1">core/src/main/java/bisq/core/app/BisqSetup.java</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq/pull/2344/files#diff-2">core/src/main/java/bisq/core/app/TorSetup.java</a>
    (69)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/2344/files#diff-3">core/src/main/java/bisq/core/app/misc/AppSetupWithP2P.java</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/2344/files#diff-4">core/src/main/java/bisq/core/app/misc/AppSetupWithP2PAndDAO.java</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/2344/files#diff-5">core/src/main/java/bisq/core/app/misc/ModuleForAppWithP2p.java</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/2344/files#diff-6">desktop/src/main/java/bisq/desktop/main/overlays/windows/TorNetworkSettingsWindow.java</a>
    (26)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/2344.patch'>https://github.com/bisq-network/bisq/pull/2344.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/2344.diff'>https://github.com/bisq-network/bisq/pull/2344.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/2344">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZtpdK0Oy8wGp2O8ahE9oNLroLpcGlks5vIXZIgaJpZM4aZ6zF">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtnZCn0vKS3lhX-ULk9-WnpUtoRmXks5vIXZIgaJpZM4aZ6zF.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq","title":"bisq-network/bisq","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Delete tor files at startup (#2344)"}],"action":{"name":"View Pull Request","url":"https://github.com/bisq-network/bisq/pull/2344"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/2344",
"url": "https://github.com/bisq-network/bisq/pull/2344",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>