cuprate_txpool::ops

Function in_stem_pool

Source
pub fn in_stem_pool(
    tx_hash: &TransactionHash,
    tx_infos: &impl DatabaseRo<TransactionInfos>,
) -> Result<bool, RuntimeError>
Expand description

Returns true if the transaction with the given hash is in the stem pool.

ยงErrors

This will return an Err if the transaction is not in the pool.