approaches another part of #16613 (“Functional test suite bottlenecks”)
As for wallet_backup.py
(Commit 581c9be0d8bff46cd68bd6a3bf72f22d11c09aea), the
bottleneck is in relaying transactions. By whitelisting the peers, the
inventory is transmissioned immediately rather than on average every 5 seconds,
speeding up the test significantly:
before:
0$ time ./wallet_address_types.py
1real 1m30.072s
2user 0m6.478s
3sys 0m2.298s
with this PR:
0$ time ./wallet_address_types.py
1real 0m26.785s
2user 0m5.525s
3sys 0m1.888s