Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new api methods 'getmyoffers' and 'getmyoffer' #5056

Merged
merged 3 commits into from
Jan 7, 2021

Conversation

ghubstan
Copy link
Contributor

@ghubstan ghubstan commented Jan 5, 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, which will filter out offers not matching any user payment account.

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,
which will filter out offers not matching any user payment account.
@ghubstan ghubstan mentioned this pull request Jan 5, 2021
Refering to PR bisq-network#5053.

Test cases need to explicitly use a matching fiat payment account
type when calling 'getoffers'.
@ripcurlx ripcurlx added the in:api label Jan 7, 2021
@ripcurlx ripcurlx added this to the v1.5.5 milestone Jan 7, 2021
@ripcurlx ripcurlx requested a review from sqrrm January 7, 2021 15:58
sqrrm
sqrrm previously approved these changes Jan 7, 2021
Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ghubstan There's a comment I'll give you a chance to reply to before merging.

core/src/main/java/bisq/core/api/CoreOffersService.java Outdated Show resolved Hide resolved
@ghubstan
Copy link
Contributor Author

ghubstan commented Jan 7, 2021

force travis jar download

@ghubstan ghubstan closed this Jan 7, 2021
@ghubstan ghubstan reopened this Jan 7, 2021
Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@sqrrm sqrrm merged commit 76e2330 into bisq-network:master Jan 7, 2021
@ghubstan ghubstan deleted the add-getmyoffers-api-method branch January 16, 2021 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants