reth::utils

Function get_single_body

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

Re-exported from reth_node_core, also to prevent a breaking change. See the comment on the reth_node_core::args re-export for more details. Get a body from network based on header