Skip to main content

get_tx_hash_from_id

Function get_tx_hash_from_id 

Source
pub fn get_tx_hash_from_id(
    tx_id: &TxId,
    tapes: &impl TapesRead,
    is_miner_tx: bool,
    db: &BlockchainDatabase,
) -> DbResult<[u8; 32]>
Expand description

Retrieve a [Transaction]’s hash from the database with its TxId.

This is expensive.