pub fn verify_transaction_proof(
header: &Header,
transaction_hash: &[u8; 32],
result_leaf: &[u8],
proof: &TenderdashTransactionProof,
) -> Result<(), BlockProofError>Expand description
Check that a transaction and its execution result are in the block of header, at the
position proof names.
proof.total is the node’s claim, which no single path settles: the paths show that
the transaction and its result are in the block, and where they are only if the block
holds that many transactions.