Function sp_state_machine::read_proof_check
source · [−]pub fn read_proof_check<H, I>(
root: H::Out,
proof: StorageProof,
keys: I
) -> Result<HashMap<Vec<u8>, Option<Vec<u8>>>, Box<dyn Error>> where
H: Hasher,
H::Out: Ord + Codec,
I: IntoIterator,
I::Item: AsRef<[u8]>,
Expand description
Check storage read proof, generated by prove_read
call.