Function sc_client_api::cht::check_proof_on_proving_backend
source · [−]pub fn check_proof_on_proving_backend<Header, Hasher>(
local_root: Header::Hash,
local_number: Header::Number,
remote_hash: Header::Hash,
proving_backend: &TrieBackend<MemoryDB<Hasher>, Hasher>
) -> ClientResult<()> where
Header: HeaderT,
Hasher: Hasher,
Hasher::Out: Ord + Codec,
Expand description
Check CHT-based header proof on pre-created proving backend.