zebra/zebrad
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
..
proptest-regressions/components/mempool/storage/tests Limit the size and age of the ZIP-401 rejected transaction ID list (#2932) 2021-10-27 20:27:00 +00:00
src add(scan): Start scanner gRPC server with `zebrad` (#8241) 2024-02-07 22:36:01 +00:00
systemd Send all zebrad logs to the journal under systemd (#7965) 2023-12-12 13:15:55 +00:00
tests add(scan): Implement SubscribeResults request for scan service (#8253) 2024-02-13 00:42:40 +00:00
Cargo.toml add(scan): Start scanner gRPC server with `zebrad` (#8241) 2024-02-07 22:36:01 +00:00
build.rs Test `z_getsubtreesbyindex` using a lightwalletd gRPC request (#7521) 2023-09-12 23:59:56 +00:00