3 suggestions
Earlier concerns neither republished nor resolved: 7 suggestions. See the Run archive for their assessments.
Optional improvements
[suggestion] · The -mempoolexpiry comment reverses the expiration effect
The new comment reverses the rationale for rejecting negative -mempoolexpiry: a future cutoff expires ordinary transactions prematurely rather than preventing expiration.
Location: src/node/mempool_args.cpp:97 (head).
Details and suggested fix
For a negative expiry, now - expiry lies in the future. CTxMemPool::Expire() removes entries older than that cutoff, together with their descendants, at the next limiting pass. LoadMempool() likewise treats ordinary timestamps as expired. Change the comment to say that a negative expiry prematurely expires transactions and prevents their reload; keep the validation unchanged.
[suggestion] · The -txconfirmtarget tests omit the no-estimator exemption
The new wallet test covers rejection with an estimator, but not the supported -blocksonly exemption or acceptance at the inclusive boundary.
Location: test/functional/wallet_fallbackfee.py:77 (head).
Details and suggested fix
The load-time guard intentionally skips the estimator ceiling when maximumFeeEstimationTargetBlocks() returns 0; -blocksonly reaches that branch by omitting estimator initialization. Reuse the existing wallet for a successful start with -blocksonly -txconfirmtarget=1009 and assert that the wallet loaded. Also add a normal-mode successful start with -txconfirmtarget=1008 alongside the existing rejection of 1009. These cases distinguish the exemption and inclusive boundary from implementations that reject too much.
[suggestion] · The -bytespersigop upper bound lacks a rejection test
The new tests do not distinguish the UINT_MAX check from negative-only validation, so they miss a regression that turns -bytespersigop=4294967296 into 0.
Location: test/functional/feature_config_args.py:234 (head).
Details and suggested fix
The only rejected -bytespersigop input in this table is -1; the accepted cases exercise 0 and negation. GetIntArg() returns int64_t, so 4294967296 reaches this guard and would narrow to 0 if its upper predicate were removed, disabling the sigop adjustment. Add that value to the rejection table with the expected range error to test the upper check independently.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: Startup compatibility changes lack a release note (earlier report)
- [suggestion]: Zero is documented as disabled despite enforcing zero thresholds (earlier report)
- [suggestion]: Accepted mempool arguments are not checked for their applied values (earlier report)
- [suggestion]: The timeout compatibility change is bundled with independent hardening (earlier report)
- [suggestion]: Clearly excessive confirmation targets fail only at wallet load (earlier report)
- [suggestion]: Ancestor and descendant limits still narrow silently in the wallet interface (earlier report)
- [suggestion]: The bytes-per-sigop ceiling ignores downstream int32 size fields (earlier report)
Background
Ralph's summary of historical context for the behaviour affected by this change. The historical record reviewed here is incomplete.
Documented decisions
The historical repair was expressly justified in compatibility terms: usages that worked before the clock change should not crash afterward. A discussion participant prioritized the small repair and added test coverage while acknowledging that broader changes might be needed to prevent similar issues.
The prior maximum was therefore protected as working behavior during a refactor. That rationale explains preserving acceptance at the time; it does not itself supply a rationale for subsequently narrowing the accepted configuration range.
Unresolved disagreements
The historical discussion contrasted a broader saturating-parser approach with an immediate comparison repair. The inspected passages support prioritizing restoration of working behavior, but do not settle the general policy for oversized configuration values.
This distinction matters because repairing arithmetic while retaining accepted input and deliberately reducing the accepted range address different compatibility questions. The older debate should not be read as endorsing the present UINT32_MAX boundary.