Skip to content

Commit c3cd7fc

Browse files
committed
[doc] remove references to now-nonexistent Finalize() function
1 parent d8140f5 commit c3cd7fc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/validation.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -469,10 +469,8 @@ class MemPoolAccept
469469
const bool m_allow_replacement;
470470
/** When true, allow sibling eviction. This only occurs in single transaction package settings. */
471471
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(). */
476474
const bool m_package_submission;
477475
/** When true, use package feerates instead of individual transaction feerates for fee-based
478476
* policies such as mempool min fee and min relay fee.
@@ -548,7 +546,7 @@ class MemPoolAccept
548546
/* m_test_accept */ package_args.m_test_accept,
549547
/* m_allow_replacement */ true,
550548
/* 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()
552550
/* m_package_feerates */ false, // only 1 transaction
553551
/* m_client_maxfeerate */ package_args.m_client_maxfeerate,
554552
/* m_allow_carveouts */ false,

0 commit comments

Comments
 (0)