Skip to content

Conversation

theStack
Copy link
Contributor

@theStack theStack commented Apr 6, 2024

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.

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.
@DrahtBot
Copy link
Contributor

DrahtBot commented Apr 6, 2024

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK brunoerg, maflcko

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@DrahtBot DrahtBot added the Tests label Apr 6, 2024
Copy link
Contributor

@brunoerg brunoerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 93fae5a

@maflcko
Copy link
Member

maflcko commented Apr 7, 2024

lgtm ACK 93fae5a

@fanquake fanquake merged commit f0794cb into bitcoin:master Apr 7, 2024
@theStack theStack deleted the 202404-test-remove_immediate_tx_relay_workaround_wallet_groups_py branch April 7, 2024 09:55
Pttn added a commit to RiecoinTeam/Riecoin that referenced this pull request Apr 13, 2024
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Oct 25, 2024
…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
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Nov 12, 2024
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
roqqit pushed a commit to doged-io/doged that referenced this pull request Nov 21, 2024
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
@bitcoin bitcoin locked and limited conversation to collaborators Apr 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants