Zebra/zebrad/src
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
..
bin/zebrad fix(zebrad): accept default subcommand arguments and print consistent usage information for top-level 'help' subcommand (#6801) 2023-06-07 06:03:42 +00:00
commands add(scan): Handle RegisterKeys messages in scan task (#8222) 2024-02-06 18:41:00 +00:00
components feat(remove): Temporally remove the internal miner functionality (#8184) 2024-01-23 18:02:52 +00:00
application.rs feat(mine): Add an internal Zcash miner to Zebra (#8136) 2024-01-11 14:41:01 +00:00
commands.rs fix(ci): Skip GCP CI jobs on PRs from external contributors, let mergify test them after approval (#7956) 2023-11-22 19:43:29 +00:00
components.rs feat(mine): Add an internal Zcash miner to Zebra (#8136) 2024-01-11 14:41:01 +00:00
config.rs add(docs): Note default path to config in docs (#8143) 2024-01-10 06:53:32 +00:00
lib.rs change(doc): Refactor user & dev docs (#8145) 2024-01-12 22:36:04 +00:00
prelude.rs fix(zebrad): accept default subcommand arguments and print consistent usage information for top-level 'help' subcommand (#6801) 2023-06-07 06:03:42 +00:00
sentry.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00