Page MenuHomePhabricator

net: improve encapsulation of CNetAddr
ClosedPublic

Authored by Fabien on Feb 4 2021, 16:59.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC2184cc687dab: net: improve encapsulation of CNetAddr
Summary
Do not access `CNetAddr::ip` directly from `CService` methods.

This improvement will help later when we change the type of
`CNetAddr::ip` (in the BIP155 implementation).

Backport of core PR19360.

Depends on D9169.

Test Plan
ninja all check-all

Diff Detail

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