Function casper_execution_engine::core::validate_query_proof
source · [−]pub fn validate_query_proof(
hash: &Digest,
proofs: &[TrieMerkleProof<Key, StoredValue>],
expected_first_key: &Key,
path: &[String],
expected_value: &StoredValue
) -> Result<(), ValidationError>
Expand description
Validates proof of the query.
Returns ValidationError
for any of