[bisq-network/bisq] inject CorruptedDataFilesHandler instead of making it static (#3107)

Christoph Sturm notifications at github.com
Mon Aug 19 15:04:25 UTC 2019


just a small rabbit-hole that i went down while looking at the code. 

storage can probably be injected directly in more places but i didn't want to change any logic in this pr. 

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * restore the test that was lost in a rebase of my test branch
  * inject CorruptedDataFilesHandler instead of making it static

-- File Changes --

    M common/src/main/java/bisq/common/storage/Storage.java (9)
    M core/src/main/java/bisq/core/app/BisqExecutable.java (9)
    M core/src/main/java/bisq/core/arbitration/DisputeManager.java (5)
    M core/src/main/java/bisq/core/offer/OpenOfferManager.java (5)
    M core/src/main/java/bisq/core/proto/persistable/CorePersistenceProtoResolver.java (10)
    M core/src/main/java/bisq/core/trade/TradeManager.java (5)
    M core/src/main/java/bisq/core/trade/closed/ClosedTradableManager.java (5)
    M core/src/main/java/bisq/core/trade/failed/FailedTradesManager.java (5)
    M core/src/test/java/bisq/core/offer/OpenOfferManagerTest.java (15)
    M core/src/test/java/bisq/core/trade/TradableListTest.java (3)
    M desktop/src/main/java/bisq/desktop/main/account/content/altcoinaccounts/AltCoinAccountsDataModel.java (10)
    M desktop/src/main/java/bisq/desktop/main/account/content/fiataccounts/FiatAccountsDataModel.java (10)
    M desktop/src/main/java/bisq/desktop/util/GUIUtil.java (9)
    M monitor/src/main/java/bisq/monitor/metric/P2PNetworkLoad.java (6)
    M p2p/src/main/java/bisq/network/p2p/peers/PeerManager.java (5)
    M p2p/src/test/java/bisq/network/p2p/storage/P2PDataStorageTest.java (217)

-- Patch Links --

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


More information about the bisq-github mailing list