@@ -510,15 +510,6 @@ class CTxMemPool
510
510
* don't actually exist in the mempool, returns an empty vector. */
511
511
std::vector<txiter> GetIterVec (const std::vector<uint256>& txids) const EXCLUSIVE_LOCKS_REQUIRED(cs);
512
512
513
- /* * Remove a set of transactions from the mempool.
514
- * If a transaction is in this set, then all in-mempool descendants must
515
- * also be in the set, unless this transaction is being removed for being
516
- * in a block.
517
- * Set updateDescendants to true when removing a tx that was in a block, so
518
- * that any in-mempool descendants have their ancestor state updated.
519
- */
520
- void RemoveStaged (setEntries& stage, bool updateDescendants, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
521
-
522
513
/* * UpdateTransactionsFromBlock is called when adding transactions from a
523
514
* disconnected block back to the mempool, new mempool entries may have
524
515
* children in the mempool (which is generally not the case when otherwise
@@ -738,6 +729,15 @@ class CTxMemPool
738
729
std::optional<std::string> CheckConflictTopology (const setEntries& direct_conflicts);
739
730
740
731
private:
732
+ /* * Remove a set of transactions from the mempool.
733
+ * If a transaction is in this set, then all in-mempool descendants must
734
+ * also be in the set, unless this transaction is being removed for being
735
+ * in a block.
736
+ * Set updateDescendants to true when removing a tx that was in a block, so
737
+ * that any in-mempool descendants have their ancestor state updated.
738
+ */
739
+ void RemoveStaged (setEntries& stage, bool updateDescendants, MemPoolRemovalReason reason) EXCLUSIVE_LOCKS_REQUIRED(cs);
740
+
741
741
/* * UpdateForDescendants is used by UpdateTransactionsFromBlock to update
742
742
* the descendants for a single transaction that has been added to the
743
743
* mempool but may have child transactions in the mempool, eg during a
0 commit comments