[][src]Function sc_service::client::light::fetcher::cht::build_proof

pub fn build_proof<Header, Hasher, BlocksI, HashesI>(
    cht_size: <Header as Header>::Number,
    cht_num: <Header as Header>::Number,
    blocks: BlocksI,
    hashes: HashesI
) -> Result<StorageProof, Error> where
    BlocksI: IntoIterator<Item = <Header as Header>::Number>,
    Hasher: Hasher,
    HashesI: IntoIterator<Item = Result<Option<<Header as Header>::Hash>, Error>>,
    Header: Header,
    <Hasher as Hasher>::Out: Ord,
    <Hasher as Hasher>::Out: Codec

Build CHT-based header proof.