Function sc_light::blockchain::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,
Expand description
Check CHT-based header proof.