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
Header: Header,
Hasher: Hasher,
BlocksI: IntoIterator<Item = <Header as Header>::Number>,
HashesI: IntoIterator<Item = Result<Option<<Header as Header>::Hash>, Error>>,
<Hasher as Hasher>::Out: Ord,
<Hasher as Hasher>::Out: Codec,
Expand description
Build CHT-based header proof.