cuprate_blockchain::ops::alt_block

Function get_alt_transaction

Source
pub fn get_alt_transaction(
    tx_hash: &TxHash,
    tables: &impl Tables,
) -> DbResult<VerifiedTransactionInformation>
Expand description

Retrieve a VerifiedTransactionInformation from the database.

§Errors

This function returns cuprate_database::RuntimeError::KeyNotFound if the input (if applicable) doesn’t exist or other RuntimeError’s on database errors.