Get a mempool entry. Returns `None` for non-mempool transactions, as well as for mempool transactions that don't have the MempoolEntry data populated yet.
(&self, txid: &Txid)
| 330 | /// Get a mempool entry. Returns `None` for non-mempool transactions, as well as for |
| 331 | /// mempool transactions that don't have the MempoolEntry data populated yet. |
| 332 | pub fn get_mempool_entry(&self, txid: &Txid) -> Option<&MempoolEntry> { |
| 333 | self.mempool |
| 334 | .get(txid) |
| 335 | .and_then(|opt_entry| opt_entry.as_ref()) |
| 336 | } |
| 337 | |
| 338 | pub fn lookup_txo_fund(&self, outpoint: &OutPoint) -> Option<FundingInfo> { |
| 339 | self.transactions |
no test coverage detected