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

feat: peer order match events & alias #1563

Merged
merged 1 commit into from
May 20, 2020
Merged

feat: peer order match events & alias #1563

merged 1 commit into from
May 20, 2020

Conversation

sangaman
Copy link
Collaborator

This enhances the details returned by the PlaceOrder call and output by the placeorder command to include events for when a peer order is matched and swapping routine begins as well as the alias of the peer whose order we matched with.

Closes #1514.

I still need to test this with some live swaps but was running into issues with Docker, so this could still use some more trial runs.

@sangaman sangaman added grpc gRPC API command line (CLI) Relating to the command line interface tools labels May 15, 2020
@sangaman sangaman requested review from a user, kilrau and raladev May 15, 2020 06:55
@sangaman sangaman self-assigned this May 15, 2020
@raladev
Copy link
Contributor

raladev commented May 15, 2020

@sangaman
Copy link
Collaborator Author

* [ ]  No successful swap message in cli output
  [Screenshot 2020-05-15 14:28:55](https://user-images.githubusercontent.com/29906866/82046637-edbe2880-96b9-11ea-9169-d1e23be5bd7f.png)
  [Screenshot 2020-05-15 14:29:11](https://user-images.githubusercontent.com/29906866/82046678-01698f00-96ba-11ea-9f22-cb373b1c5669.png)

* [ ]  No peer in cli message (but exists in logs)

* [ ]  Failed tests

Thanks for checking, I'll get some tests in today and let you know when to try again.

@kilrau
Copy link
Contributor

kilrau commented May 18, 2020

Thanks for checking, I'll get some tests in today and let you know when to try again.

I guess that's needed to get travis passing? Or do we have travis troubles?

This enhances the details returned by the `PlaceOrder` call and output
by the `placeorder` command to include events for when a peer order is
matched and swapping routine begins as well as the alias of the peer
whose order we matched with.
Closes #1514.
@sangaman
Copy link
Collaborator Author

@raladev I just updated this branch, should be good for another shot now:

$ xucli buy 0.001 LTC/BTC mkt
matched 0.001 LTC @ 0.01 with peer OnionToilet order b38d9b80-98eb-11ea-9c49-ffe3e2eb3105, attempting swap...
successfully swapped 0.001 LTC with peer order b38d9b80-98eb-11ea-9c49-ffe3e2eb3105

I guess that's needed to get travis passing? Or do we have travis troubles?

I just needed to update one of the import references in one of the tests, it should be good now.

@raladev raladev merged commit 30c732b into master May 20, 2020
@raladev raladev deleted the stream-peer-matches branch May 20, 2020 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command line (CLI) Relating to the command line interface tools grpc gRPC API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print peer order match (and more)
3 participants