Page MenuHomePhabricator

test: add check_node_connections in util
ClosedPublic

Authored by Fabien on Feb 2 2022, 16:48.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC00657787e118: test: add check_node_connections in util
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 core#23392 and core#23774 (missing import fix).

Depends on D10966.

Ref T1696.

Test Plan
ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable