Function sc_client_api::cht::build_proof [−][src]
pub fn build_proof<Header, Hasher, BlocksI, HashesI>(
cht_size: Header::Number,
cht_num: Header::Number,
blocks: BlocksI,
hashes: HashesI
) -> ClientResult<StorageProof> where
Header: HeaderT,
Hasher: Hasher,
Hasher::Out: Ord + Codec,
BlocksI: IntoIterator<Item = Header::Number>,
HashesI: IntoIterator<Item = ClientResult<Option<Header::Hash>>>,
Expand description
Build CHT-based header proof.