Skip to content

Conversation

brunoerg
Copy link
Contributor

This function (check_node_connections) exists in feature_anchors.py and p2p_add_connections.py and does the same thing in both, this PR moves this function to util to avoid repetition and facilitate maintenance.

@fanquake fanquake added the Tests label Oct 30, 2021
@brunoerg brunoerg force-pushed the 2021-10-check-node-connections branch from 994dc1b to 5ce601c Compare October 30, 2021 01:10
Copy link
Contributor

@lsilva01 lsilva01 left a comment

Choose a reason for hiding this comment

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

tACK 5ce601c on Ubuntu 20.04

@brunoerg brunoerg force-pushed the 2021-10-check-node-connections branch from 5ce601c to ab9bfc8 Compare November 17, 2021 23:51
Copy link
Contributor

@stratospher stratospher left a comment

Choose a reason for hiding this comment

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

ACK ab9bfc8.

Copy link
Member

@maflcko maflcko left a comment

Choose a reason for hiding this comment

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

I think all commits can be squashed into one to allow for easy --color-moved=dimmed-zebra.

@brunoerg brunoerg force-pushed the 2021-10-check-node-connections branch from ab9bfc8 to 4e831f1 Compare November 18, 2021 14:57
@brunoerg
Copy link
Contributor Author

I think all commits can be squashed into one to allow for easy --color-moved=dimmed-zebra.

Done.

@brunoerg brunoerg force-pushed the 2021-10-check-node-connections branch from 4e831f1 to 988024f Compare November 18, 2021 16:41
@laanwj
Copy link
Member

laanwj commented Nov 29, 2021

Code review ACK 988024f

@laanwj laanwj merged commit a574f4a into bitcoin:master Nov 29, 2021
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Nov 29, 2021
RandyMcMillan pushed a commit to RandyMcMillan/mempool-tab that referenced this pull request Dec 23, 2021
61af443 test: add check_node_connections in util (brunoerg)

Pull request description:

  This function (`check_node_connections`) exists in `feature_anchors.py` and `p2p_add_connections.py` and does the same thing in both, this PR moves this function to util to avoid repetition and facilitate maintenance.

ACKs for top commit:
  laanwj:
    Code review ACK 61af443

Tree-SHA512: bf86c5659933539c72cb91ad587552b45c918be74d36fb429e78f3b954f01ed0855a85dd49aea35b432fbd18227c05eb3fec8b99c139c3509c39b19bccf6b7fd
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Feb 3, 2022
Summary:
```
This function (check_node_connections) exists in feature_anchors.py and p2p_add_connections.py and does the same thing in both, this PR moves this function to util to avoid repetition and facilitate maintenance.
```

Backport of [[bitcoin/bitcoin#23392 | core#23392]] and [[bitcoin/bitcoin#23774 | core#23774]] (missing import fix).

Depends on D10966.

Ref T1696.

Test Plan:
  ninja check-functional

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1696

Differential Revision: https://reviews.bitcoinabc.org/D10967
@bitcoin bitcoin locked and limited conversation to collaborators Nov 29, 2022
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.

6 participants