9 suggestions
Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive for their assessments.
Optional improvements
[suggestion] · The zero-compatibility claims contradict the implemented limits
The advertised -bantime=0 and -limitclustersize=0 configurations fail validation, and the patch provides no release-note guidance for its configuration compatibility changes.
Location: src/init.cpp:1215 (head).
Details and suggested fix
The commit message and PR description explicitly list both zero values as still valid, but these checks reject them and the help/tests require at least 1. Correct those descriptions and explain the retained zeros accurately: -maxsendbuffer=0 sets the pause threshold to zero, and -dbbatchsize=0 flushes each nonempty partial batch rather than disabling flushing. Add a uniquely named release-note fragment listing the newly rejected values and -noX spellings, their replacements where applicable, and the new -txconfirmtarget bounds. No such fragment appears in this patch.
[suggestion] · Clearly excessive confirmation targets fail only at wallet load
With fee estimation enabled, the previously accepted -txconfirmtarget=2016 now blocks wallet loading, but without startup wallets the node first accepts this unusable configuration.
Location: src/wallet/wallet.cpp:2942 (head).
Details and suggested fix
WalletInit::ParameterInteraction accepts any target in [1, UINT_MAX], while LoadWalletArgs applies the estimator ceiling. Without startup wallets, the error therefore appears only during later wallet creation or loading; with a startup wallet, LoadWallets instead fails initialization. Base loaded this target and could use an enabled -fallbackfee when estimation failed.
Keep the state-dependent load check because the tracked maximum can come from the estimator file, but reject targets above the absolute 1008-block ceiling during parameter interaction when estimation is enabled. Preserve the no-estimator exemption, including -blocksonly, where the current load check has no estimator ceiling to enforce.
[suggestion] · The crash-ratio check still accepts values that cannot fit its destination
The new sign check leaves pre-existing test-only narrowing on 32-bit-int targets, so extreme positive -dbcrashratio values can disable crash injection or force every partial flush to exit.
Location: src/node/coins_view_args.cpp:29 (head).
Details and suggested fix
ReadCoinsViewArgs accepts positive int64 values before casting them into int simulate_crash_ratio. On 32-bit-int targets, 4294967296 becomes 0 and disables injection, 4294967297 becomes 1 and selects _Exit(0) on every partial UTXO batch flush, and 4294967295 becomes -1 and violates randrange's positive-range assumption. Also reject values above std::numeric_limits<int>::max() and test the inclusive maximum, the first rejected value, and a value that otherwise narrows to zero. This preserves zero-disabled behavior and all representable crash ratios.
[suggestion] · Ancestor and descendant limits still narrow silently in the wallet interface
The new non-negative checks leave pre-existing narrowing reachable with extreme operator values: 4294967296 becomes zero in the wallet interface and silently restricts coin selection.
Location: src/node/mempool_args.cpp:64 (head).
Details and suggested fix
Both options remain int64 values until getPackageLimits copies them into unsigned int outputs. A value of 4294967296 becomes 0, which AutomaticCoinSelection clamps to 1; filters derived from halves or limit - 1 then permit no in-mempool ancestors or cluster members. The unconditional CoinEligibilityFilter(0, 1, 2) and the unlimited filter enabled by -walletrejectlongchains=0 still permit some zero-confirmation spending, so this is a restriction rather than a total refusal. Bound both new checks by std::numeric_limits<unsigned int>::max() and add boundary tests.
[suggestion] · The bytes-per-sigop ceiling ignores downstream int32 size fields
The new ceiling leaves pre-existing size narrowing reachable with extreme operator-selected -bytespersigop values, so otherwise ordinary transactions can violate TxGraph's positive-size invariant.
Location: src/init.cpp:1196 (head).
Details and suggested fix
With -bytespersigop=4294967295, a transaction with sigop cost 4 has adjusted weight 17179869180 and adjusted vsize 4294967295. These do not fit the int32_t representations in FeePerWeight and the mempool entry accessors. StageAddition narrows the weight and calls TxGraph before the later sigop-count rejection; assertion-enabled builds can stop at its positive-size assumption before GetTxSize() is read. Handle unrepresentable adjusted sizes before narrowing rather than treating UINT_MAX as a sufficient ceiling. Add transaction-level and startup boundary tests for the resulting contract.
[suggestion] · The expiry comment reverses the effect of a negative value
The new comment describes indefinite retention, but the negative values now rejected would instead prematurely expire ordinarily timestamped transactions and skip them on reload.
Location: src/node/mempool_args.cpp:92 (head).
Details and suggested fix
LimitMempoolSize passes now - expiry to Expire, which removes entries with timestamps below that cutoff. A negative expiry advances the cutoff, making ordinary entries eligible for removal immediately. LoadMempool likewise accepts only saved timestamps newer than its cutoff. Replace “stop anything from ever expiring” with an explanation that negative values prematurely expire transactions and exclude ordinary saved entries on reload; keep the non-negative check.
[suggestion] · Successful mempool argument cases never inspect the parsed values
The new unit test would still pass if successful expiry, datacarrier or cluster-limit assignments were removed while validation remained intact.
Location: src/test/mempool_tests.cpp:556 (head).
Details and suggested fix
get_opts discards its populated MemPoolOptions and returns only ApplyArgsManOptions's Result<void>. Consequently, the zero and boundary cases establish acceptance but not assignment, scaling or disabled-datacarrier behavior. Return util::Result<kernel::MemPoolOptions>, following the neighboring chainstate test helper, and assert exact results such as zero-second expiry, std::optional<unsigned>{0} for carrier size, nullopt when datacarrier is disabled, and 1000 virtual bytes for -limitclustersize=1. Keep the existing rejection assertions.
[suggestion] · The wallet target test misses acceptance at the estimator maximum
Changing the estimator-bound comparison from > to >= would leave the new 1009 rejection passing while incorrectly rejecting the fixture's valid 1008 target.
Location: test/functional/wallet_fallbackfee.py:76 (head).
Details and suggested fix
The other new -txconfirmtarget cases cover invalid unsigned-range values, not equality with the estimator maximum. After the preceding stop, start the node with -txconfirmtarget=1008, assert that its existing wallet is loaded, and stop it before retaining the 1009 rejection. The framework already creates this wallet with load_on_startup=True, so the added start exercises the same wallet-load guard.
[suggestion] · The node-focused commit hides an independent wallet-loading policy change
Separating the wallet checks and their tests would make their configuration compatibility impact easier to review than the current node-focused commit message allows.
Location: src/wallet/wallet.cpp:2942 at 1ab3f148582c (commit) (commit).
Details and suggested fix
1ab3f148582c21054dfc9323623edcf9768949f6 is the sole commit on parent 9183edd25e60aa410bc3e4728989a1d75c309a09; its message omits the new wallet-loading policy. Move the src/wallet/init.cpp changes, the LoadWalletArgs hunk, the wallet-only cases and -notxconfirmtarget entry in feature_config_args.py, and the wallet_fallbackfee.py assertion into a second commit after the node changes. Keep the new numeric-test helper in the first commit to satisfy the test dependency. This isolates the estimator-dependent rejection and wallet range/negation rules without changing the final tree. Explain that compatibility impact in the second message, and account for the new -peertimeout negation rule in the node message.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: The
-bytespersigoptests omit the new upper boundary (earlier report)