Function scan_range

Source
pub async fn scan_range(
    stop_before_height: Height,
    keys: HashMap<SaplingScanningKey, (DiversifiableFullViewingKey, Height)>,
    state: State,
    storage: Storage,
    subscribed_keys_receiver: Receiver<Arc<HashMap<String, Sender<ScanResult>>>>,
) -> Result<(), Report>
Expand description

Start a scan task that reads blocks from state within the provided height range, scans them with the configured keys in storage, and then writes the results to storage.