<p>If all connections lost at seed nodes we clean tor cache files and trigger a restart.<br>
We set a flag to clear tor cache files at shutdown and at startup we check for that flag and clean the tor cache before tor is started. Before we did that at shutdown but that can cause problems as tor is running at that moment.</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/5070'>https://github.com/bisq-network/bisq/pull/5070</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Use List instead of ObservableList, cleanups</li>
  <li>Cache Volume</li>
  <li>Cache price and localDateTime</li>
  <li>Add methods for boolean values</li>
  <li>Add toggle for showing volume as USD instead of BTC</li>
  <li>Cache fields in TradeStatistics3ListItem</li>
  <li>Cleanups</li>
  <li>Fix available height calculation</li>
  <li>Call fillTradeCurrencies only once at activate</li>
  <li>Refactor: Rename tradeStatisticsByCurrency to selectedTradeStatistics</li>
  <li>Only update selectedTradeStatistics if selected currency has</li>
  <li>Remove unnecessary ObservableList</li>
  <li>We set a flag to clear tor cache files at re-start.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-3890150de89daa3c662ede2dd4228d29318d35a8e036418cc3549a7ba0708ba0">core/src/main/java/bisq/core/network/p2p/inventory/model/RequestInfo.java</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-ee3e6ab6efe02715d897f3f01ac2ea73097880835637201e3e8c7ac80d34fde7">core/src/main/java/bisq/core/trade/statistics/TradeStatistics3.java</a>
    (37)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-6e51820a7ab1b52b5bc148016e47e6d9b45183fab76ce579bf799baeb2a79d30">core/src/main/java/bisq/core/user/Cookie.java</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-c8a96ad745e7de1a1511d9a40eda7c4fb0f9c6910f1a1ec5b407a1d49b03dbcb">core/src/main/java/bisq/core/user/CookieKey.java</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-a6cc570e0f56a36136791beae8f497706216230467708be9343344cd953e5f08">core/src/main/resources/i18n/displayStrings.properties</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-79863ab2c4a4a815f9160e1561945fe52e6affeaf06f7cf5c2ef29da8f9c8199">desktop/src/main/java/bisq/desktop/main/market/trades/TradeStatistics3ListItem.java</a>
    (42)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-c07a4a25261a735296715e03648489d434fb39f93d11500ed770a58f21a8623e">desktop/src/main/java/bisq/desktop/main/market/trades/TradesChartsView.java</a>
    (239)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-ba42c3dc6d2020b1b5e557ed258922287d03c66a530457ac7e0c4071ad5f3155">desktop/src/main/java/bisq/desktop/main/market/trades/TradesChartsViewModel.java</a>
    (194)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-994c0b92e42d06628b3b45010d0ee6adb7e4dc69f79f215fd2e23dd031fdd95c">desktop/src/main/java/bisq/desktop/main/market/trades/charts/CandleData.java</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-e72ea15506d487e2208c3e8b579699e9061846845bf2402cb41e1e1b21e1d2e2">desktop/src/main/java/bisq/desktop/main/market/trades/charts/price/Candle.java</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-bd1a854e247e8e6ef665677e739c2cab99869bf9abbeba580215e0183b155905">desktop/src/main/java/bisq/desktop/main/market/trades/charts/price/CandleStickChart.java</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-250cd07938e2ce54a2438de80c6c3931d506eaa4854019c1a2158e12828bb5fe">desktop/src/main/java/bisq/desktop/main/market/trades/charts/volume/VolumeBar.java</a>
    (11)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-bb6cf6962e8353ba9d72a17328051a7f90eca40b0b54763be5207479210d6ae1">desktop/src/main/java/bisq/desktop/main/market/trades/charts/volume/VolumeChart.java</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-1c4e4d5a17c14a1a9722e4b5f0b9c706a3e42b0d4f01cb7dcb984b421d11bc3e">desktop/src/main/java/bisq/desktop/util/DisplayUtils.java</a>
    (21)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-bda9ca1cc23b0260cedc822c7bb87231e022c46e07123bda09819dd350d303d2">desktop/src/test/java/bisq/desktop/main/market/trades/TradesChartsViewModelTest.java</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5070/files#diff-15e2368ce0507e626f2d209110670b97ad633599233e0d9a74ae79a46356356b">seednode/src/main/java/bisq/seednode/SeedNodeMain.java</a>
    (22)
  </li>
</ul>

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