[bisq-network/bisq] Accept old trade statistic object (#3933)

Christoph Atteneder notifications at github.com
Mon Feb 3 09:23:29 UTC 2020


The code didn't handle before the use case of new trade statistic objects
created by two old clients. This change make it independent of the cut off date
and allows us at a later point to update all trade statistics objects with
depositTxId value of null.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Accept old trade statistic object

-- File Changes --

    M core/src/main/java/bisq/core/trade/statistics/TradeStatistics2.java (26)
    M core/src/main/java/bisq/core/trade/statistics/TradeStatisticsManager.java (19)
    M core/src/test/java/bisq/core/trade/statistics/TradeStatistics2Maker.java (3)
    M core/src/test/java/bisq/core/trade/statistics/TradeStatistics2Test.java (23)
    A core/src/test/java/bisq/core/trade/statistics/TradeStatisticsManagerTest.java (120)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/3933.patch
https://github.com/bisq-network/bisq/pull/3933.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/3933
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200203/a38d3b30/attachment-0001.html>


More information about the bisq-github mailing list