Page MenuHomePhabricator

Refactor p2p_add_connections
ClosedPublic

Authored by Fabien on Feb 3 2022, 10:30.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC0b586b6698e5: Refactor p2p_add_connections
Summary

This makes the code much easier to follow by avoiding a log of p2p_idx manipulations, and make it easier to changes the number of connections in the future without having to update the whole test.

Ref T1696.

Test Plan
./test/functional/test_runner.py p2p_add_connections

Diff Detail

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

Event Timeline

Fabien requested review of this revision.Feb 3 2022, 10:30
This revision is now accepted and ready to land.Feb 3 2022, 12:32
This revision was automatically updated to reflect the committed changes.