-
Notifications
You must be signed in to change notification settings - Fork 106
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
Create a scan_block
function to use across scanning tasks
#7947
Comments
Is this about transactions in the mempool, or transactions in blocks? |
This is for the MVP so I think we should start with transactions in finalised blocks |
That seems like ticket #7953. (It was already in the tracking issue so I pressed the ticket button for it.) Since we're just focusing on blocks in the MVP, and we current have a block-based API in the scanner tests, saying that we're scanning transactions could be confusing. Would this ticket be better named "Create a function to scan a single block"? |
This is supposed to be the equivalent to the checklist item in #7728 which says: " Implement Orchard transaction scanning" So, do we want to close this one as a duplicate of #7953 and rename #7953 to "Scan previously verified blocks for Sapling transactions"? Or, do we want to split "creating the function to scan a single block" (this issue) from using this function to "scan all previously verified blocks" (issue #7953)?
I just want to make it clear we're only working with Sapling viewing keys for the MVP. |
Hey team! Please add your planning poker estimate with Zenhub @arya2 @oxarbitrage @teor2345 @upbqdn |
scan_blocks
function to use across scanning tasks
We want to use the
I think #7953 is blocked on this, but can be split into two PRs:
👍 - Orchard should definitely be out-of-scope for this issue. |
I simplified the pseudocode to make account IDs, splitting results by key, and nullifiers out of scope. They don't have tickets or checklist items yet. I also removed any mention of channels, because they aren't part of this ticket. |
scan_blocks
function to use across scanning tasksscan_block
function to use across scanning tasks
Motivation
Encapsulate any logic related to using the
zcash_client_backend::scan_block
function, like converting the Zebra block format to CompactBlock, recording results, or tracking progress, that will be needed in both scanning tasks.Possible Design
Optional / Out-of-scope
This issue and the epic it is a part of (the zebra-scan MVP) should exclude:
The scope of this issue only includes scanning Sapling transactions.
Other out of scope things:
Complex task handling pseudocode
The text was updated successfully, but these errors were encountered: