Skip to main content

run_fetcher_service

Function run_fetcher_service 

Source
async fn run_fetcher_service(
    rpc_url: String,
    fetch_rx: Receiver<FetchRequest>,
    cache_blocks: u64,
) -> Result<()>
Expand description

Single block-fetcher service that owns the cache and handles all fetch requests.