pub fn process_proof<F, E>(
udata: &UData,
txdata: &[Transaction],
height: u32,
get_block_hash: F,
) -> Result<(Proof, Vec<Hash>, HashMap<OutPoint, UtxoData>), E>Expand description
This function processes a proof of inclusion for a given block.
It takes a UData, a slice of transactions, the block height, and a function to get the block hash.
It returns a Result containing a Proof, a vector of deleted hashes, and a UtxoMap, which is defined as HashMap<OutPoint, UtxoData>.