zebra/zebra-node-services/src
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
..
mempool add(test): test disabled `lightwalletd` mempool gRPCs via zebrad logs (#5016) 2022-09-06 13:32:33 +00:00
scan_service add(scan): Implement SubscribeResults request for scan service (#8253) 2024-02-13 00:42:40 +00:00
constants.rs change(deps): Remove unused zebra-utils dependencies (#5961) 2023-01-16 21:39:47 +00:00
lib.rs add(scan): Implement SubscribeResults request for scan service (#8253) 2024-02-13 00:42:40 +00:00
mempool.rs fix(rpc): Check that mempool transactions are valid for the state's chain info in getblocktemplate (#6416) 2023-04-03 23:22:07 +00:00
rpc_client.rs fix(compatibility): Replace or add RPC content type header when applicable (#6885) 2023-06-14 19:02:55 +00:00
scan_service.rs add(scan): Create a tower Service in zebra-scan (#8185) 2024-01-24 22:37:03 +00:00