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 GetTicket grpc endpoint #1317

Closed
matheusd opened this issue Nov 5, 2018 · 1 comment · Fixed by #1318
Closed

Add GetTicket grpc endpoint #1317

matheusd opened this issue Nov 5, 2018 · 1 comment · Fixed by #1318

Comments

@matheusd
Copy link
Member

matheusd commented Nov 5, 2018

This call should receive the ticket hash and return the information as if it were a single element of a GetTickets call (ie, one instance of a GetTicketsResponse message).

The point of this is to be able to find the respective spender (either a vote or revocation) for an arbitrary ticket. The opposite (going from a vote/revocation to a ticket hash) is easy to do, given that you can just check the appropriate outpoint of the spender transaction.

@dnldd
Copy link
Member

dnldd commented Nov 5, 2018

Will sort this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants