diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-06-18 18:09:27 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-07-16 01:15:45 +0200 |
commit | fb6c6a7938cb7c4808ad88d23bfc2b7408407b12 (patch) | |
tree | a33b08352d79f6ab054846bae4e07a54853fc5ce /src | |
parent | a88fa1a555195af6543cdc802e8e1c2e1668dd38 (diff) |
test: speedup wallet_listtransactions by whitelisting peers (immediate tx relay)
By whitelisting the peers via -whitelist, the inventory is transmissioned
immediately rather than on average every 5 seconds, speeding up the test by at
least a factor of two:
before:
$ time ./wallet_listtransactions.py
...
0m40.25s real 0m01.74s user 0m01.70s system
with this PR:
$ time ./wallet_listtransactions.py
...
0m14.93s real 0m01.68s user 0m01.87s system
This commit also moves the wallet_listtransactions tests into the < 30s group.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions