This is a simple PR that fixes the incorrect description of what is done in PackageMempoolChecks
// Enforce package mempool ancestor/descendant limits (distinct from individual // ancestor/descendant limits done in PreChecks) and run Package RBF checks.
After cluster mempool, we no longer enforce ancestor/descendant limits in both PreChecks and PackageMempoolChecks; instead, cluster limit is enforced in PackageMempoolChecks.
This PR fixes the incorrect comment by;
- Making it clear why it is necessary to have two calls of
CheckMempoolPolicyLimtsin bothPackageMempoolChecksand after inAcceptMultipleTransactionsInternalby executingPackageMempoolChecksonly during package RBF only. No need to jump into the next subroutine when there is no conflict. - Renames
PackageMempoolCheckstoPackageRBFChecks; the method name is self-explanatory now, hence no need for a description comment.