Function start

Source
pub async fn start(
    state: State,
    chain_tip_change: ChainTipChange,
    storage: Storage,
    cmd_receiver: Receiver<ScanTaskCommand>,
) -> Result<(), Report>
Expand description

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