1 suggestion
Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive for their assessments.
Optional improvements
[suggestion] · interface_http.py loses late-disconnect coverage without upstream safeguards
The 32.x backport removes the upper-duration assertion without upstream's replacement safeguards, so the functional tests can accept an idle disconnect much later than -rpcservertimeout.
Location: test/functional/interface_http.py:100 (head).
Details and suggested fix
The copied comment relies on a client socket timeout and idle-timing coverage in httpserver_tests, but neither exists on this branch. reset_conn constructs HTTPConnection without a timeout, neither idle-timeout fixture calls set_timeout, and the unit tests lack upstream's mock-clock idle-timeout checks. Consequently, a delayed but finite disconnect can satisfy every remaining assertion in check_idle_timeout and check_server_busy_idle_timeout; the base rejected durations above seconds + 2. A server that never disconnects already left recv() unbounded at base, so that hang is not new. Backport the node.rpc_timeout socket guard and mock-clock idle-timeout tests before removing the functional upper bound, so the flakiness fix retains the safeguards described here.
Backport verdict: Needs clarification
Fidelity could not be established from the available evidence.
Evidence:
- #36701 fa01c3c5→7c6fdd0a: the patch matches upstream except for line offsets. In ci/test/00_setup_env.sh (lines 38-39),
RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-true}treats an empty value as unset, so other matrix jobs with norun_unit_testsentry still default to true. 00_setup_env_arm.sh does not override the new false values. - #36615 d2e5108e→d9035657: the codesign.sh blob change (737fa07e83..f43b73e76c) is identical to upstream.
- #36617 faf819bf→7bd74475: the change is identical (a25c93cd1f..6f55597b6a). At the PR head, lines 831-838 have the new wait_until before sync_with_ping and the bump.
- #36406 a3c4ad12→6cb4ce29 and 5f22014a→4d679f6f: the hunks are identical. The blob index differs only because #36617 was applied first.
txid_intandwtxid_intexist in test_framework/messages.py (lines 701 and 716). Everyassert_never_requestedcall site in the head tree passes an int, so the new isinstance assert does not break any 32.x-only caller. - #36405 22535b46→0cd735b7: the change is identical (4ffbb80f4a..2c6b9f9a8c).
check_p2p_tx_violationat the head returns (tx, txid, wtxid, hex) at line 137, so the unpacking_, _, wtxid, tx_hexis valid. - #36539 23dcb03a→dba6a52b and 3fdc45d1→806bc300: the code hunks are identical. The only omission is doc/release-notes-hwi-minver.md, and its text appears in release-notes.md lines 46-52. Every constructor call that relied on the default at the base (sendcoinsdialog ×2, walletmodel, feebumper, fuzz/psbt, psbt_tests ×3) is now explicit. Searching the head finds no remaining one-argument
PartiallySignedTransaction(mtx)construction, so removing the default argument is safe on 32.x. The GUI Create Unsigned and bump paths produce v0, external-signer paths stay v2 (sendcoinsdialog.cpp line 507, feebumper.cpp line 338), and wallettests.cpp line 432 asserts version 0. - #36869 b9a6b0ca→02881236: the memusage.h change is identical (02691bb4b5..37aa6bb96d).
- #36848 75a23e7d→ef37fd20: the range-diff shows only
time.monotonic()replaced bytime.time(), matching the base file (interface_http.py lines 92-94). The upper-bound assert is removed as upstream intended. - #36894 d63068c5→5e9ce8a3: the logic matches upstream. MaybeDiscourageAndDisconnect at the head (lines 5387-5406) still handles private-broadcast and local peers before the normal case, as upstream does, and now sets
pnode.fDisconnecton the misbehaving peer only. Thedisconnect_private_broadcastparameter appears nowhere in the head tree. All remainingDisconnectNodecallers (rpc/net.cpp, node/interfaces.cpp, fuzz/connman.cpp) use the one-argument overload. - 91333bdf (release notes, untagged, the expected release-prep commit): all nine PRs are listed, and the HWI ≥2.1.0 external-signer compatibility note is included.
Limitations:
- No builds, unit, functional, GUI or fuzz tests were run, and no runner records were supplied. Compiling with the default PSBT version argument removed, and the functional test behaviour on 32.x, were checked only by reading the source.
- The packet marks its Git evidence as truncated (show --format=fuller) and the #36869 PR body as truncated. The per-commit patches and range-diffs needed for this review were available.
- The release notes are still a WIP placeholder ("v32.x", URL bitcoin-core-32.x). The final version string and credits have to be filled in before tagging; this is normal for an in-progress backport PR.
- The upstream PR discussion about the GUI fee bump with an external signer still using v2 (through feebumper::SignTransaction) concerns a behaviour upstream accepted. It is carried over unchanged and is not a backport defect.
- Truncated Git evidence: show --format=fuller --no-ext-diff
- bitcoin/bitcoin#36869: truncated body
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: No test checks that the unsigned fee-bump PSBT export is v0 (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 implementation effort had interoperability and ecosystem-adoption motivations. Core Lightning already used v2, users wanted Core to inspect those PSBTs, and a contributor explicitly advocated moving the industry toward v2 as the de facto default. The implementation also adopted a v2-shaped internal representation while reconstructing the unsigned transaction for v0 serialization.
This distinguishes support and internal representation from export policy: retaining v0 output does not require abandoning the v2 implementation. It also explains why defaulting toward v2 was attractive despite compatibility costs.