Zebra/zebrad/tests/common
Arya 2a004ffe9e
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 18:41:00 +00:00
..
configs add(docs): Note default path to config in docs (#8143) 2024-01-10 06:53:32 +00:00
get_block_template_rpcs feat(mine): Add an internal Zcash miner to Zebra (#8136) 2024-01-11 14:41:01 +00:00
lightwalletd change(state): Expose ZebraDb methods that can create different kinds of databases (#8002) 2023-11-28 13:49:11 +00:00
shielded_scan add(scan): Handle RegisterKeys messages in scan task (#8222) 2024-02-06 18:41:00 +00:00
cached_state.rs fix(security): fix concurrency issues in tree key formats, and CPU usage in genesis tree roots (#7392) 2023-10-19 14:50:46 +00:00
check.rs T0. refactor(test): split zebrad acceptance tests into sub-modules (#3901) 2022-03-18 16:02:22 +00:00
checkpoints.rs change(state): Expose ZebraDb methods that can create different kinds of databases (#8002) 2023-11-28 13:49:11 +00:00
config.rs add(scan): Handle RegisterKeys messages in scan task (#8222) 2024-02-06 18:41:00 +00:00
failure_messages.rs change(docs): update docs for new lightwalletd version used in Zebra (#7427) 2023-08-30 22:30:20 +00:00
get_block_template_rpcs.rs change(rpc): Add getpeerinfo RPC method (#5951) 2023-01-17 07:09:07 +00:00
launch.rs feature(mining): Enable mining RPCs by default in production builds (#7740) 2023-10-18 04:15:17 +00:00
lightwalletd.rs change(ci): Generate mainnet checkpoints in CI (#6550) 2023-04-27 04:39:43 +00:00
mod.rs add(scan): Handle RegisterKeys messages in scan task (#8222) 2024-02-06 18:41:00 +00:00
shielded_scan.rs add(scan): Handle RegisterKeys messages in scan task (#8222) 2024-02-06 18:41:00 +00:00
sync.rs change(consensus): Remove Sprout and Sapling parameter download task and debug_skip_preload config (#7844) 2023-10-27 06:12:57 +00:00
test_type.rs change(consensus): Remove Sprout and Sapling parameter download task and debug_skip_preload config (#7844) 2023-10-27 06:12:57 +00:00