[bisq-network/bisq] Use percentage based value for security deposits (#2498)

Manfred Karrer notifications at github.com
Tue Mar 5 04:36:03 UTC 2019


Use percentage based value of trade amount for buyer and seller
security deposit.
To ensure that the BTC value is not getting too low, we apply a min.
value for both.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use percentage based value for security deposits

-- File Changes --

    M common/src/main/proto/pb.proto (3)
    M core/src/main/java/bisq/core/btc/wallet/Restrictions.java (34)
    M core/src/main/java/bisq/core/offer/OfferUtil.java (14)
    M core/src/main/java/bisq/core/trade/Trade.java (4)
    M core/src/main/java/bisq/core/user/Preferences.java (21)
    M core/src/main/java/bisq/core/user/PreferencesPayload.java (12)
    M core/src/main/java/bisq/core/util/CoinUtil.java (20)
    M core/src/main/resources/i18n/displayStrings.properties (4)
    M desktop/src/main/java/bisq/desktop/main/offer/MutableOfferDataModel.java (69)
    M desktop/src/main/java/bisq/desktop/main/offer/MutableOfferView.java (6)
    M desktop/src/main/java/bisq/desktop/main/offer/MutableOfferViewModel.java (37)
    M desktop/src/main/java/bisq/desktop/main/portfolio/editoffer/EditOfferDataModel.java (5)
    M desktop/src/main/java/bisq/desktop/util/validation/SecurityDepositValidator.java (40)
    M desktop/src/test/java/bisq/desktop/main/offer/createoffer/CreateOfferDataModelTest.java (2)

-- Patch Links --

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


More information about the bisq-github mailing list