| 619 | } |
| 620 | |
| 621 | CTransactionRef CTxMemPool::get(const Txid& hash) const |
| 622 | { |
| 623 | LOCK(cs); |
| 624 | indexed_transaction_set::const_iterator i = mapTx.find(hash); |
| 625 | if (i == mapTx.end()) |
| 626 | return nullptr; |
| 627 | return i->GetSharedTx(); |
| 628 | } |
| 629 | |
| 630 | void CTxMemPool::PrioritiseTransaction(const Txid& hash, const CAmount& nFeeDelta) |
| 631 | { |
no test coverage detected