mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Remove no longer used mempool.exists(outpoint)
This commit is contained in:
parent
ac52492cd2
commit
22378adbe5
1 changed files with 0 additions and 7 deletions
|
|
@ -618,13 +618,6 @@ public:
|
||||||
return (mapTx.count(hash) != 0);
|
return (mapTx.count(hash) != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool exists(const COutPoint& outpoint) const
|
|
||||||
{
|
|
||||||
LOCK(cs);
|
|
||||||
auto it = mapTx.find(outpoint.hash);
|
|
||||||
return (it != mapTx.end() && outpoint.n < it->GetTx().vout.size());
|
|
||||||
}
|
|
||||||
|
|
||||||
CTransactionRef get(const uint256& hash) const;
|
CTransactionRef get(const uint256& hash) const;
|
||||||
TxMempoolInfo info(const uint256& hash) const;
|
TxMempoolInfo info(const uint256& hash) const;
|
||||||
std::vector<TxMempoolInfo> infoAll() const;
|
std::vector<TxMempoolInfo> infoAll() const;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue