[bisq-network/bisq] Improve cleanup tor dir at seeds (#5070)

chimp1984 notifications at github.com
Sun Jan 10 02:43:45 CET 2021


If all connections lost at seed nodes we clean tor cache files and trigger a restart.
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.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

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

-- File Changes --

    M core/src/main/java/bisq/core/network/p2p/inventory/model/RequestInfo.java (2)
    M core/src/main/java/bisq/core/trade/statistics/TradeStatistics3.java (37)
    M core/src/main/java/bisq/core/user/Cookie.java (10)
    M core/src/main/java/bisq/core/user/CookieKey.java (4)
    M core/src/main/resources/i18n/displayStrings.properties (3)
    M desktop/src/main/java/bisq/desktop/main/market/trades/TradeStatistics3ListItem.java (42)
    M desktop/src/main/java/bisq/desktop/main/market/trades/TradesChartsView.java (239)
    M desktop/src/main/java/bisq/desktop/main/market/trades/TradesChartsViewModel.java (194)
    M desktop/src/main/java/bisq/desktop/main/market/trades/charts/CandleData.java (4)
    M desktop/src/main/java/bisq/desktop/main/market/trades/charts/price/Candle.java (5)
    M desktop/src/main/java/bisq/desktop/main/market/trades/charts/price/CandleStickChart.java (6)
    M desktop/src/main/java/bisq/desktop/main/market/trades/charts/volume/VolumeBar.java (11)
    M desktop/src/main/java/bisq/desktop/main/market/trades/charts/volume/VolumeChart.java (6)
    M desktop/src/main/java/bisq/desktop/util/DisplayUtils.java (21)
    M desktop/src/test/java/bisq/desktop/main/market/trades/TradesChartsViewModelTest.java (2)
    M seednode/src/main/java/bisq/seednode/SeedNodeMain.java (22)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5070.patch
https://github.com/bisq-network/bisq/pull/5070.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/5070
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210109/00eced6b/attachment.htm>


More information about the bisq-github mailing list