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

Implement Results scan service request to read any cached results for a set of keys #8205

Closed
arya2 opened this issue Jan 29, 2024 · 0 comments · Fixed by #8224
Closed

Implement Results scan service request to read any cached results for a set of keys #8205

arya2 opened this issue Jan 29, 2024 · 0 comments · Fixed by #8224
Assignees
Labels
A-blockchain-scanner Area: Blockchain scanner of shielded transactions C-feature Category: New features S-needs-triage Status: A bug report needs triage

Comments

@arya2
Copy link
Contributor

arya2 commented Jan 29, 2024

Motivation

We want to be able to request results for a given viewing key set from the scan service (to be used via an RPC method).

Possible Design

  • Accept a String in the ScanService Results request variant
  • Clone db and spawn a blocking thread
    • Call db.sapling_results(key) and return the transaction ids in the result
@github-project-automation github-project-automation bot moved this to New in Zebra Jan 29, 2024
@arya2 arya2 added C-feature Category: New features A-blockchain-scanner Area: Blockchain scanner of shielded transactions S-needs-triage Status: A bug report needs triage labels Jan 29, 2024
@mpguerra mpguerra moved this from New to Sprint Backlog in Zebra Jan 29, 2024
@mergify mergify bot closed this as completed in #8224 Feb 2, 2024
@github-project-automation github-project-automation bot moved this from Sprint Backlog to Done in Zebra Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-blockchain-scanner Area: Blockchain scanner of shielded transactions C-feature Category: New features S-needs-triage Status: A bug report needs triage
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants