mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:47:36 +00:00
[32.x] Finalise 32.1 #36658
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!36658
Loading…
Reference in a new issue
No description provided.
Delete branch "finalise_32_1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Backports:
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.Base:
ed601f001b01e0b12bb3c2a4c168418ec3f4baa8Head:
09a3519e3b981fe39fa13df3f1907e442e4f0831Findings
Minor
Preserve exception monitoring for send-only waits (src/util/sock.cpp:222, head)
When a wait requests only
SendEvent, this branch does not add the socket toerr, so the select backend cannot report exceptional conditions asErrorEvent. That differs from the documentedWaitcontract and the poll backend, which reportsPOLLERRandPOLLHUPregardless of requested events. CConnman can make send-only waits while receiving is paused and output is pending, and its error path usesErrorEventto enter receive-side error handling. Some failures may still appear through send readiness, but no current caller producing an exception-set-only condition in this state was identified, so production impact is unconfirmed.Use wide-offset POSIX positioning functions (src/util/fs_helpers.h:60, head)
On 32-bit POSIX builds,
longremains 32 bits, sostd::fseekcannot represent offsets aboveLONG_MAX;FileTell64likewise usesstd::ftell, which cannot report positions above that limit. CMake enables_FILE_OFFSET_BITS=64for 32-bit Linux, but that widensoff_t-based interfaces, not thelongarguments tofseekandftell. Use wide-offset POSIX interfaces such asfseekoandftellowith the configured 64-bitoff_t. No current production caller passing an absolute seek greater than 2 GiB was identified, so production impact is unconfirmed.Suggestions
Add regression coverage for the paused-send deadline (src/net.cpp:2086, head)
Please add deterministic coverage for the new paused-send timeout. A peer that stays paused past
TIMEOUT_INTERVALshould be disconnected, while draining below the threshold and then entering a later paused interval should start a fresh deadline. The patch updates timestamps at both pause-transition paths but adds no corresponding tests. A mock-clock test would make this behavior inexpensive to exercise and help prevent regressions.Review coverage was incomplete.
Review limitations
Full review report
One nit from ralph here
ACK https://github.com/bitcoin/bitcoin/pull/36658/commits/09a3519e3b981fe39fa13df3f1907e442e4f0831
The four commits are faithful backports
ACK
09a3519e3bRelease notes restored, additional commits backported faithfully, and manpages/versions bumped; looking good to me here.
Reproduced ACK
09a3519e3bACK
09a3519e3bReviewed every cherry-pick manually and the rest automatically: all four backports match upstream exactly, and the release preparation looks correct.
nit: this may deserve its own bullet - unless you're deliberately grouping it with the previous one
this may need some nuance because of https://github.com/bitcoin/bitcoin/pull/36666
I think this is still ok, as the releases are happening at the same time, and we don't expect
29.xto receive more updates in the future.ACK
09a3519e3b