Function sc_light::fetcher::cht::check_proof [−][src]
pub fn check_proof<Header, Hasher>(
local_root: <Header as Header>::Hash,
local_number: <Header as Header>::Number,
remote_hash: <Header as Header>::Hash,
remote_proof: StorageProof
) -> Result<(), Error> where
Hasher: Hasher,
Header: Header,
<Hasher as Hasher>::Out: Ord,
<Hasher as Hasher>::Out: Codec,
Check CHT-based header proof.