mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 16:23:37 +00:00
test: Enable noban_tx_relay in a few more tests #36624
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!36624
Loading…
Reference in a new issue
No description provided.
Delete branch "2610-test-noban-relay"
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?
For https://github.com/bitcoin/bitcoin/issues/19732 (see commit msgs for details)
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:
df0dc1e2d2059213e49a9f115fd55a9f0119d26cHead:
fa704c5d3cafcd768982a02c48c7c7d96d667fa1Design and approach
Use ordinary relay scheduling in P2P relay tests (test/functional/mempool_accept_wtxid.py:24, head)
MempoolWtxidTestchecks that P2P peers receive the selected wtxid and its rebroadcast, butnoban_tx_relaygives loopback peersNoBanpermission and enables immediate trickle sending rather than the normal inventory schedule. The test framework warns against using this setting when testing transaction relay.PackageRBFTestalso uses it while checking package propagation over P2P. Keep relay-asserting tests on ordinary scheduling, or provide separate coverage for those assertions withoutNoBan; where faster relay is needed, use the opt-in only for tests that do not assert relay behavior.Review coverage was incomplete.
Review limitations
Full review report
cc @ViniciusCestarii
ACK
fa704c5d3cSetting noban_tx_relay to these tests is correct and I also like the new more direct comment for noban_tx_relay.
I compared execution time running locally
build/test/functional/test_runner.py -j=18 --randomseed=1(median of 3):rpc_psbt.py 18s -> 4s
mempool_accept_wtxid.py 4s -> 0s
mempool_limit.py 8s -> 4s
mempool_package_rbf.py 13s -> 4s
mempool_persist.py 12s -> 3s
Acummulated 1066s -> 1011s
Wall 76s -> 73s
This is a nice speed up :)
ACK
fa704c5d3c