Page MenuHomePhabricator

[core#19724 7/9][refactor] Simplify connection type logic in ThreadOpenConnections
ClosedPublic

Authored by PiRK on Jul 12 2021, 16:02.

Details

Summary

Consolidate the logic to determine connection type into one conditional to
clarify how they are chosen.

This is a backport of core#19724 [7/9]
https://github.com/bitcoin/bitcoin/pull/19724/commits/4829b6fcc6489b445f80689af6c2a1a919f176b1

Depends on D9775

Test Plan

ninja all check-all

Diff Detail

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