mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:50:37 +00:00
test: Small p2p_node_network_limited.py cleanups #36541
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!36541
Loading…
Reference in a new issue
No description provided.
Delete branch "2610-test-p2p-limited-cleanup"
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?
Fix a pre-existing typo and https://github.com/bitcoin/bitcoin/pull/36446#discussion_r4267602616
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:
cce32b16874e85e8a00cfa1a2190f0b6f4dcaf66Head:
fadcd0b64e3982a9c42a54faa0a3be8ab58caa04Findings
Minor
Retain an observation barrier for the negative block-request check (test/functional/p2p_node_network_limited.py:154, head)
The pong-counter wait confirms a ping/pong roundtrip, but does not establish that the full node has completed the relevant block-download scheduling pass. Because the test snapshots peer state immediately afterward, an erroneous request could appear later and the test could pass. Retain a bounded observation window or wait for an observable completion signal before asserting that no request was made.
Design and approach
Concept and approach. The height descriptions are corrected, but the reason for removing the observation period is not established: a ping/pong roundtrip does not prove that the relevant block-download scheduling decision has run. Retain a bounded observation window or use a completion signal that proves the decision has run.
Full review report
ACK
fadcd0b64eremoving
&& !IsLimitedPeer(peer)from the IBD download condition causes theinflightassertion to fail immediately.