Function sc_light::blockchain::cht::check_proof_on_proving_backend
source · [−]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
Header: Header,
Hasher: Hasher,
<Hasher as Hasher>::Out: Ord,
<Hasher as Hasher>::Out: Codec,
Expand description
Check CHT-based header proof on pre-created proving backend.