mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 16:02:38 +00:00
[32.x] More Backports #36427
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!36427
Loading…
Reference in a new issue
No description provided.
Delete branch "32_0_rc4_final_backports"
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:
2633a1ded5cd2121b626a414d6a205b7ac39b178Head:
101719cb4325843ec31302d5b7c0af9d080ac087Findings
Major
Abort misses resolved transactions with initial sends pending (src/private_broadcast.cpp:163, head)
If a transaction is received back before all planned initial sends are picked, it is marked resolved while
IsPending()still permits those sends. This filter then removes it fromGetBroadcastInfo(), the snapshotAbortPrivateBroadcast()searches. TheabortprivatebroadcastRPC consequently reports that the transaction is not in the queue and does not cancel the remaining scheduled connections, contrary to its documented behavior.Minor
The throttle test accepts a stall after any positive read (test/functional/interface_http.py:815, head)
If the server reads a small initial chunk and client or TCP delivery then pauses for a polling interval,
total == prev_total && total > 0passes without showing that the throttle engaged. The sender retriesBlockingIOError, and the test requires no minimum server-read threshold before accepting the stall. No specific CI run exhibiting this false pass was identified.Alternatives
Chunk waits that exceed the platform limit. Have Sock::WaitMany repeat waits of at most INT_MAX milliseconds, using a monotonic deadline to track the remaining requested duration. Benefit: Retains safe poll/select timeout values while better honoring the wait duration requested by callers, including the five-year approximation used for -rpcclienttimeout=0. Trade-off: Adds deadline and remaining-time bookkeeping and requires care around timeout, error, and interruption behavior. Unresolved: Confirm whether all current WaitMany callers expect the full requested duration or already compensate at a higher layer.
Review coverage was incomplete. adversarial: Stage budget exhausted before the review completed. adversarial_glm: Stage budget exhausted before the review completed. design: The implementation of
TestNode.wait_until_stopped()was not available for inspection, so I could not determine whether replacingassert_equal(0, node.process.wait())still checks for a clean process exit. verifier: The cited upstream discussions that underpin the concept candidate’s release-level concern were not checked, so whether a more complete private-broadcast fix is planned for 32.x remains unknown.Full review report
@fanquake it doesn't seem like #36277 was added here.
Edit: Weird didn't see the last 2 commits until just now, and also received the notification email now but it was backdated. Must be something with github.
ACK
a323326a0dACK
a323326a0dACK
a323326a0dLooks OK.
Why the commit message change in
b2c6f6f027though? Assume it's an editor accident, and not a big deal tbh.ACK
a323326a0dhappy to re-ack with fixed commit message, if it's deemed important-enough to fix :)
reACK
d66ea38afconly commit message fixed
Re-ACK
d66ea38afcre-ACK
d66ea38afcACK
101719cb43