zebra/zebra-scan/src
Arya 80827f5294
add(scan): Implement `DeleteKeys` `ScanService` request (#8217)
* handle RemoveKeys command in ScanTask

* implements DeleteKeys request

* uses spawn_blocking and updates comments

* removes spawn_init fn

* adds test for new Storage method

* adds fake_sapling_results helper function

* adds test for scan service DeleteKeys request

* adds TODO for unwrap_or_clone

* checks the keys sent to the scan task for removal

* moves message processing to its own function

* adds a timeout for the scanner task response

* hide mock() methods behind cfg(test) or feature

* adds MAX_REQUEST_KEYS constant

* updates test to insert and delete results for a second key

* Update zebra-scan/src/init.rs

Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>

* test that the expected number of results are in the db

* fix unused import lint

* fixes unused imports

---------

Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2024-01-31 19:34:24 +00:00
..
bin add(scan): Implement `DeleteKeys` `ScanService` request (#8217) 2024-01-31 19:34:24 +00:00
service add(scan): Implement `DeleteKeys` `ScanService` request (#8217) 2024-01-31 19:34:24 +00:00
storage add(scan): Implement `DeleteKeys` `ScanService` request (#8217) 2024-01-31 19:34:24 +00:00
tests change(state): Allow opening the database in a read-only mode (#8079) 2023-12-13 21:54:00 +00:00
config.rs feat(scanner): Restart scanning where left (#8080) 2023-12-13 20:16:26 +00:00
init.rs add(scan): Implement `DeleteKeys` `ScanService` request (#8217) 2024-01-31 19:34:24 +00:00
lib.rs add(scan): Implement `DeleteKeys` `ScanService` request (#8217) 2024-01-31 19:34:24 +00:00
scan.rs add(scan): Implement `DeleteKeys` `ScanService` request (#8217) 2024-01-31 19:34:24 +00:00
service.rs add(scan): Implement `DeleteKeys` `ScanService` request (#8217) 2024-01-31 19:34:24 +00:00
storage.rs Make sure scanner database is accessed using the correct types (#8112) 2023-12-18 16:33:49 +00:00
tests.rs test(scan): Add raw database format snapshots to the scanner (#8075) 2023-12-12 07:45:12 +00:00