@@ -469,10 +469,8 @@ class MemPoolAccept
469
469
const bool m_allow_replacement;
470
470
/* * When true, allow sibling eviction. This only occurs in single transaction package settings. */
471
471
const bool m_allow_sibling_eviction;
472
- /* * When true, the mempool will not be trimmed when any transactions are submitted in
473
- * Finalize(). Instead, limits should be enforced at the end to ensure the package is not
474
- * partially submitted.
475
- */
472
+ /* * Used to skip the LimitMempoolSize() call within AcceptSingleTransaction(). This should be used when multiple
473
+ * AcceptSubPackage calls are expected and the mempool will be trimmed at the end of AcceptPackage(). */
476
474
const bool m_package_submission;
477
475
/* * When true, use package feerates instead of individual transaction feerates for fee-based
478
476
* policies such as mempool min fee and min relay fee.
@@ -548,7 +546,7 @@ class MemPoolAccept
548
546
/* m_test_accept */ package_args.m_test_accept ,
549
547
/* m_allow_replacement */ true ,
550
548
/* m_allow_sibling_eviction */ true ,
551
- /* m_package_submission */ true , // do not LimitMempoolSize in Finalize ()
549
+ /* m_package_submission */ true , // trim at the end of AcceptPackage ()
552
550
/* m_package_feerates */ false , // only 1 transaction
553
551
/* m_client_maxfeerate */ package_args.m_client_maxfeerate ,
554
552
/* m_allow_carveouts */ false ,
0 commit comments