This website requires JavaScript.
Explore
Help
Sign In
zecfoundation
/
zebra
mirror of
https://github.com/ZcashFoundation/zebra.git
Watch
1
Star
0
Fork
You've already forked zebra
0
Code
Issues
Projects
Releases
Wiki
Activity
e64f3dcddd
zebra
/
zebrad
/
tests
/
common
/
shielded_scan.rs
4 lines
97 B
Rust
Raw
Normal View
History
Unescape
Escape
add(scan): Handle RegisterKeys messages in scan task (#8222) * moves ScanTask to its own module in service module * moves `process_messages()` method to scan_task.rs * uses get_mut() and returns new keys * updates types and adds scan_until() function * adds and uses wait_for_height() function * spawns scan_until_task_handler to poll scan_until_tasks FuturesUnordered * corrects comment * adds TODO * updates expected test log, corrects panic msg, fixes fmt * moves scan functions to scan_task module * moves ScanTaskCommand and related method impls to its own module * moves `ScanTask::mock()` test constructor to its own module * creates `add_keys` mod and moves `scan_until()` function there * moves scan task executor to its own module and adds ScanRangeTaskBuilder type * renames add_keys to scan_range, moves executor to scan_task mod * adds test for process_messages * updates scan_height_and_store_results() to skip last_scanned_height check if there is no key height for a key in `parsed_keys` * updates `default_test_config()` * adds acceptance test for registering keys in ScanTask * uses the right feature for the new acceptance test * Applies suggestions from code review
2024-02-06 10:41:00 -08:00
//! Acceptance tests for `shielded-scan`` feature in zebrad.
add(test): Check that scan task removes keys, unify scan task acceptance tests, and add test to CI (#8308) * merges scan task tests and checks that the scan task removes keys * Adds test to CI * Skip to expected block height and assert that the result is from that height * Updates test docs and uses zebrad state path for scan cache * Log "Zcash network: {network}" from scan task commands test
2024-03-04 13:25:50 -08:00
pub
(
crate
)
mod
scan_task_commands
;