This is a follow up commit from #25254 (review)
This commit moves ancestor limit from validation to policy/settings.
This is a follow up commit from #25254 (review)
This commit moves ancestor limit from validation to policy/settings.
57@@ -58,8 +58,6 @@ namespace Consensus {
58 struct Params;
59 } // namespace Consensus
60
61-/** Default for -limitancestorcount, max number of in-mempool ancestors */
62-static const unsigned int DEFAULT_ANCESTOR_LIMIT = 25;
63 /** Default for -limitancestorsize, maximum kilobytes of tx + all in-mempool ancestors */
The rest should be moved too, as stated in the comment.
DEFAULT_ANCESTOR_LIMIT
DEFAULT_ANCESTOR_SIZE_LIMIT
DEFAULT_DESCENDANT_LIMIT
DEFAULT_DESCENDANT_SIZE_LIMIT
DEFAULT_MEMPOOL_EXPIRY
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviewers, this pull request conflicts with the following ones:
CTxMemPool
from ArgsManager
by dongcarl)If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
Closing for now due to inactivity. Since there hasn’t been any substantial discussion on this pull request, feel free to open a new one.
If you do, make sure to squash the commits according to the contributing guidelines.