-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scan blocks with sapling keys and write the results to the database (#…
…8040) * Fix availability of tokio::time in scanner * Create a function that parses a key into a list of keys * Pass a ChainTipChange to the scanner function * Convert a scanned block to a sapling result * Make it easier to pass keys and blocks * Increase scanner wait times * Parse keys once at the start of the scan * Get a block from the state instead of the tip * Don't log secret keys, only log every 100,000 blocks * Scan each block and add the results to storage * Move blocking tasks into spawn_blocking() * Update the acceptance test * Use a dummy sapling tree size * Use a larger dummy size
- Loading branch information
Showing
10 changed files
with
225 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.