zebra/zebrad/tests
Arya 3929a526e5
add(scan): Implement SubscribeResults request for scan service (#8253)
* processes SubscribeResults messages

* send tx ids of results to the subscribe channel

* replaces BoxError with Report in scan_range

* adds a watch channel for using subscribed_keys in scan_range

* updates args to process_messages in test

* adds a `subscribe` method to ScanTask for sending a SubscribeResults cmd

* updates test for process_messages to cover subscribe cmds

* impls SubscribeResult service request and updates sender type

* adds test for SubscribeResults scan service request

* adds acceptance test

* updates tests and imports

* fixes acceptance test by using spawn_blocking to avoid blocking async executor and setting an appropriate start height

* fixes test

* Applies suggestions from code review.

* use tokio mpsc channel in scan task instead of std/blocking mpsc

* use tokio mpsc channel for results sender

* adds `was_parsed_keys_empty` instead of checking that all the parsed keys are new keys

* fixes test failures related to send errors in scan task

* returns height and key for scan results from subcribe_results results receiver

* hide scan_service mod in zebra-node-service behind feature
2024-02-13 00:42:40 +00:00
..
common add(scan): Implement SubscribeResults request for scan service (#8253) 2024-02-13 00:42:40 +00:00
snapshots tests(rpc): Add fixed test vectors for `z_getsubtreesbyindex` from zcashd to zebra (#7515) 2023-09-20 23:40:21 +00:00
acceptance.rs add(scan): Implement SubscribeResults request for scan service (#8253) 2024-02-13 00:42:40 +00:00
end_of_support.rs Check for early exits in the end of support task test (#6715) 2023-05-18 21:25:23 +00:00