reth_node_core::utils

Function get_single_body

Source
pub async fn get_single_body<H, Client>(
    client: Client,
    header: SealedHeader<H>,
    consensus: impl Consensus<H, Client::Body>,
) -> Result<SealedBlock<H, Client::Body>>
where Client: BodiesClient,
Expand description

Get a body from network based on header