reth::utils

Function get_single_body

pub async fn get_single_body<Client>(
    client: Client,
    chain_spec: Arc<ChainSpec>,
    header: SealedHeader,
) -> Result<SealedBlock, 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