-
Notifications
You must be signed in to change notification settings - Fork 37.7k
test: remove immediate tx relay workaround in wallet_groups.py #29822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: remove immediate tx relay workaround in wallet_groups.py #29822
Conversation
Reverts commit ab4efad (PR bitcoin#26970). This workaround is not needed anymore, as since bitcoin#27114 the test sets the noban permission for both in- and outbound connections via the `noban_tx_relay` setting, and we don't have to rely on these topology hacks anymore. See commit c985eb8.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 93fae5a
lgtm ACK 93fae5a |
…llet_groups.py 93fae5a test: remove immediate tx relay workaround in wallet_groups.py (Sebastian Falbesoner) Pull request description: Reverts commit ab4efad (PR bitcoin#26970). This workaround is not needed anymore, as since bitcoin#27114 the test sets the noban permission for both in- and outbound connections via the `noban_tx_relay` setting, and we don't have to rely on this topology hack anymore. See commit c985eb8 (kudos to brunoerg!). Can be tested by executing `$ time ./test/functional/wallet_groups.py` both on master and PR and verifying that the execution time is roughly equal. ACKs for top commit: maflcko: lgtm ACK 93fae5a brunoerg: utACK 93fae5a Tree-SHA512: b949fd05b4308815ba02d0ee4d1318f642b930288dd03223f46db7db745177af1c070bc7058743ac27963c5ad90564089867cc12f31fee94812a16919c353bab
Summary: when `self.noban_tx_relay=True`, the following flag `-whitelist=noban,in,out@127.0.0.1`is 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 [[bitcoin/bitcoin#27114 | core#27114]] bitcoin/bitcoin@c985eb8 Bypasses [[bitcoin/bitcoin#26970 | core#26970]] and [[bitcoin/bitcoin#29822 | 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
Summary: when `self.noban_tx_relay=True`, the following flag `-whitelist=noban,in,out@127.0.0.1`is 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 [[bitcoin/bitcoin#27114 | core#27114]] bitcoin/bitcoin@c985eb8 Bypasses [[bitcoin/bitcoin#26970 | core#26970]] and [[bitcoin/bitcoin#29822 | 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
Reverts commit ab4efad (PR #26970). This workaround is not needed anymore, as since #27114 the test sets the noban permission for both in- and outbound connections via the
noban_tx_relay
setting, and we don't have to rely on this topology hack anymore. See commit c985eb8 (kudos to brunoerg!).Can be tested by executing
$ time ./test/functional/wallet_groups.py
both on master and PR and verifying that the execution time is roughly equal.