Merge 6c156e49cb into merged_master (Bitcoin PR #18842)

This commit is contained in:
Andrew Poelstra 2021-06-26 14:38:38 +00:00
commit 14685bfef5
3 changed files with 15 additions and 0 deletions

View file

@ -526,6 +526,12 @@ public:
LOCK(m_node.mempool->cs);
return IsRBFOptIn(tx, *m_node.mempool);
}
bool isInMempool(const uint256& txid) override
{
if (!m_node.mempool) return false;
LOCK(m_node.mempool->cs);
return m_node.mempool->exists(txid);
}
bool hasDescendantsInMempool(const uint256& txid) override
{
if (!m_node.mempool) return false;