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 getoffer(id) api method #4598

Closed
wants to merge 4 commits into from

Conversation

ghubstan
Copy link
Member

@ghubstan ghubstan commented Oct 5, 2020

There are a number of use cases where a CLI user may want to see a single offer instead of every offer for a currency pair on the buy or sell side. The changes are:

  • Add getoffer to grpc.proto
  • Add new method to GrpcOffersService, CoreApi, CoreOffersService
  • Add new method to CLI
  • Adjust create offer tests to use this new convenience method

Push the placeOffer call down into CoreOffersService#createOffer,
and use a countdown latch to wait for async placeOffer to
complete.
This is more readable and stylistically consistent.
There are a number of use cases where a user may want to see a single
offer instead of every offer for a currency pair on the buy or sell side.
The changes are:

- Add getoffer to grpc.proto
- Add new method to GrpcOffersService, CoreApi, CoreOffersService
- Add new method to CLI
- Adjust create offer tests to use this new convenience
@ghubstan ghubstan added this to In progress in Ship Bisq Daemon and API Oct 5, 2020
@ghubstan ghubstan closed this Oct 6, 2020
Ship Bisq Daemon and API automation moved this from In progress to Done Oct 6, 2020
@ghubstan ghubstan deleted the getoffer-with-id branch October 6, 2020 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant