mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
wallet: Mark replaced tx to not be in the mempool anymore
This commit is contained in:
parent
ed25cb58f6
commit
fa4e088cba
3 changed files with 15 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue