HomePhabricator

test: add option to speed up tx relay/mempool sync

Description

test: add option to speed up tx relay/mempool sync

Summary:
when self.noban_tx_relay=True, the following flag
-whitelist=noban,in,out@127.0.0.1is added to extra_args
to speed up tx relay/mempool sync.

Before (all functional tests):

ALL                                        | ✓ Passed  | 1465 s (accumulated)
Runtime: 163 s

After:

ALL                                        | ✓ Passed  | 1350 s (accumulated)
Runtime: 150 s

This makes test duration shorter and hopefully solves some rare timeouts in interface_rest.py

This concludes backport of core#27114
https://github.com/bitcoin/bitcoin/pull/27114/commits/c985eb854cc86deb747caea5283c17cf51b6a983

Bypasses core#26970 and core#29822

Depends on D17114

Test Plan: ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D17115

Details

Provenance
brunoerg <brunoely.gc@gmail.com>Authored on Mar 14 2023, 13:18
PiRKCommitted on Nov 12 2024, 16:53
PiRKPushed on Nov 12 2024, 16:53
Reviewer
Restricted Project
Differential Revision
D17115: test: add option to speed up tx relay/mempool sync
Parents
rABC0e905bbfc0af: p2p: Allow whitelisting manual connections
Branches
Unknown
Tags
Unknown