mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:47:36 +00:00
[29.x] Finalise 29.5 #36666
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!36666
Loading…
Reference in a new issue
No description provided.
Delete branch "finalise_29_5"
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:
1a4f19f6e66c7b4e458e2cf83513473e9a78f4e3Head:
dee8c7186f26bfa1623b4d1cda77081292a8574eBackport verdict: Defective
The target commits represent all four listed upstream source commits, but the flat-file follow-up does not provide 64-bit positioning on 32-bit POSIX: its non-Windows helper still delegates to fseek/ftell. This is a concrete limitation in the backported implementation.
Evidence:
b3526cf152maps to upstream1e0c407377and applies the receive-gated exception-set change in WaitMany.02c76d5d5fmaps to upstreamcc2534cdf7and adds the pause timestamp and timeout. The target uses GetTimestd::chrono::seconds(), matching the existing target InactivityCheck time basis.5c99cb6745maps to upstream17556cb1f5and widens flat-file and block-position fields. The target’s header layout differs from upstream, with corresponding declarations in chain.h and interfaces/chain.h; the supplied target diff shows those adaptations. Position serialization remains varint-based.b2994bd0f5maps to upstream48092a9042. It adds the Windows 64-bit positioning calls, but the non-Windows branches still use std::fseek and std::ftell.Required fixes:
Limitations:
Previously reported concerns remain unresolved: 3 suggestion, 2 minor. Author deferral or disagreement does not resolve a finding.
Previous findings and author responses
suggestion · Document why exception monitoring is gated by RECV
Status: still_present. Author position: none.
src/util/sock.cpp:213 at
109b8fe0b1The new select exception-set condition still lacks an explanation. GenerateWaitSockets can request SEND without RECV while receive is paused, and SocketHandlerConnected treats ERR as a reason to call Recv; the non-obvious rationale remains useful to document.
minor · Preserve ERR reporting for SEND-only select waits
Status: still_present. Author position: none.
src/util/sock.cpp:213 at
ccf3c78885For SEND-only select waits, the socket is not added to err, while the unchanged Sock API contract says ERR may be returned for an exceptional event even when not requested. The poll backend continues to map POLLERR and POLLHUP to ERR.
suggestion · Add regression coverage for the paused-send timeout
Status: still_present. Author position: none.
src/net.cpp:2048 at
ccf3c78885The paused-send timer is added in the networking code, but the checked-in test search showed no coverage of m_pause_send_since or this timeout’s pause/recovery transitions. The requested mock-time regression coverage remains absent from the evidence checked.
minor · Use large-file positioning calls on 32-bit POSIX
Status: still_present. Author position: none.
src/util/fs_helpers.h:42 at
f089ba87caThe non-Windows helper still delegates to fseek/ftell, so offsets above LONG_MAX are not reliably supported on 32-bit POSIX. The base position was unsigned int and used fseek; the change widens the representable position range but leaves the new helper’s POSIX path limited.
suggestion · Include the integer header directly
Status: unclear. Author position: none.
src/flatfile.h:17 at
f089ba87caThe changed header uses uint64_t without directly including <cstdint>, but the cited repository guidance requiring direct includes was not independently verified within the available source inspection.
Review coverage was incomplete.
Review limitations
Full review report
ACK
109b8fe0b1Reviewed the cherry-pick manually and checked the remaining commits automatically. The patch matches upstream apart from the older
RECV/SENDnames.reACK
ccf3c78885Reviewed the added #36667 cherry-pick, with the same clock and logging adaptations as v30.
273560fc92says "Github-Pull: https://github.com/bitcoin/bitcoin/pull/3666" instead of #36669ACK
dee8c7186fACK
dee8c7186fBackports LGTM.
Reproduced ACK
dee8c7186freACK
dee8c7186f#36669 cherry-pick also looks fine
ACK
dee8c7186fI also reviewed the backported PRs.