pub fn validate_merkle_proof(
txid: &Txid,
merkle_root: &TxMerkleNode,
merkle_res: &GetMerkleRes,
) -> bool
Expand description
Verifies a Merkle inclusion proof as retrieved via transaction_get_merkle
for a transaction with the
given txid
and merkle_root
as included in the BlockHeader
.
Returns true
if the transaction is included in the corresponding block, and false
otherwise.