80827f5294
* 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> |
||
---|---|---|
.. | ||
tests | ||
sapling.rs | ||
tests.rs |