[bisq-network/bisq] Add new api methods 'getmyoffers' and 'getmyoffer' (#5056)

Stan notifications at github.com
Tue Jan 5 01:48:11 CET 2021


Similar to `getoffers` and `getoffer`, but filters out offers not created by the user.  The new methods are so similar some offer list filtering and sorting was refactored in `CoreOffersService`.

Also fixed some createoffer apitest cases in anticipation of a new [`OfferFilter`](https://github.com/bisq-network/bisq/pull/5053), which will filter out offers not matching any user payment account.

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

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

-- Commit Summary --

  * Add new api methods 'getmyoffers' and 'getmyoffer'

-- File Changes --

    M apitest/src/test/java/bisq/apitest/method/MethodTest.java (30)
    M apitest/src/test/java/bisq/apitest/method/offer/AbstractOfferTest.java (19)
    M apitest/src/test/java/bisq/apitest/method/offer/CancelOfferTest.java (18)
    M apitest/src/test/java/bisq/apitest/method/offer/CreateOfferUsingFixedPriceTest.java (55)
    M apitest/src/test/java/bisq/apitest/method/offer/CreateOfferUsingMarketPriceMarginTest.java (48)
    M apitest/src/test/java/bisq/apitest/method/offer/ValidateCreateOfferTest.java (9)
    M cli/src/main/java/bisq/cli/CliMain.java (41)
    M core/src/main/java/bisq/core/api/CoreApi.java (8)
    M core/src/main/java/bisq/core/api/CoreOffersService.java (56)
    M daemon/src/main/java/bisq/daemon/grpc/GrpcOffersService.java (38)
    M proto/src/main/proto/grpc.proto (22)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5056.patch
https://github.com/bisq-network/bisq/pull/5056.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/5056
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210104/1b2651ef/attachment.htm>


More information about the bisq-github mailing list