reth::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 as BodiesClient>::Body>,
) -> Result<SealedBlock<H, <Client as BodiesClient>::Body>, Report>
where Client: BodiesClient,
Expand description

Get a body from network based on header