Function process_proof

Source
pub fn process_proof<F, E>(
    udata: &UData,
    txdata: &[Transaction],
    height: u32,
    get_block_hash: F,
) -> Result<(Proof, Vec<Hash>, HashMap<OutPoint, UtxoData>), E>
where F: Fn(u32) -> Result<BlockHash, E>, E: From<UtreexoLeafError>,
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>.