Skip to main content

get_leaf_proof_with_qc_chain

Function get_leaf_proof_with_qc_chain 

Source
pub(crate) async fn get_leaf_proof_with_qc_chain<State>(
    state: &State,
    requested_leaf: LeafQueryData<SeqTypes>,
    fetch_timeout: Duration,
    chain_limit: usize,
) -> Result<LeafProof, Error>
where State: AvailabilityDataSource<SeqTypes> + VersionedDataSource, for<'a> State::ReadOnly<'a>: NodeStorage<SeqTypes>,