Function sc_light::fetcher::cht::check_proof_on_proving_backend [−][src]
pub fn check_proof_on_proving_backend<Header, Hasher>(
local_root: <Header as Header>::Hash,
local_number: <Header as Header>::Number,
remote_hash: <Header as Header>::Hash,
proving_backend: &TrieBackend<MemoryDB<Hasher, HashKey<Hasher>, Vec<u8, Global>, NoopTracker<Vec<u8, Global>>>, Hasher>
) -> Result<(), Error> where
Hasher: Hasher,
Header: Header,
<Hasher as Hasher>::Out: Ord,
<Hasher as Hasher>::Out: Codec,
Check CHT-based header proof on pre-created proving backend.