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