Function ethcore::state::check_proof
source · [−]pub fn check_proof(
proof: &[DBValue],
root: H256,
transaction: &SignedTransaction,
machine: &Machine,
env_info: &EnvInfo
) -> ProvedExecution
Expand description
Check the given proof of execution.
Err(ExecutionError::Internal)
indicates failure, everything else indicates
a successful proof (as the transaction itself may be poorly chosen).