loom_node_db_access::reth_worker

Function reth_node_worker_starter

Source
pub fn reth_node_worker_starter<P, T>(
    client: P,
    db_path: String,
    new_block_headers_channel: Option<Broadcaster<MessageBlockHeader>>,
    new_block_with_tx_channel: Option<Broadcaster<MessageBlock>>,
    new_block_logs_channel: Option<Broadcaster<MessageBlockLogs>>,
    new_block_state_update_channel: Option<Broadcaster<MessageBlockStateUpdate>>,
) -> ActorResult
where T: Transport + Clone, P: Provider<T, Ethereum> + Send + Sync + Clone + 'static,