HomePhabricator

init: Remove redundant -*mempool* queries

Description

init: Remove redundant -*mempool* queries

Summary:
Now that MemPoolOptions has a correctly-determined max_size member, perform sanity checks on that instead of re-determining the
options.

This concludes backport of core#25290
https://github.com/bitcoin/bitcoin/pull/25290/commits/d1684beabe5b738c2cc83de83e1aaef11a761b69

Depends on D15301

Note that some of the commits of this PR were not applicable, because they related to fee estimation or ancestor/descendant limits.

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15302

Details

Provenance
Carl Dong <contact@carldong.me>Authored on Jun 6 2022, 21:14
PiRKCommitted on Jan 30 2024, 09:35
PiRKPushed on Jan 30 2024, 09:35
Reviewer
Restricted Project
Differential Revision
D15302: init: Remove redundant -*mempool* queries
Parents
rABC9d2c7d1dfd22: mempool: Pass in -mempoolexpiry instead of referencing gArgs
Branches
Unknown
Tags
Unknown