HomePhabricator

Make CAddrMan nKey private

Description

Make CAddrMan nKey private

Summary:
This diff moves the last CAddrMan protected member to be private, at the cost of an extra friend class. This will make moving to PIMPL easier.

There is no change in behavior.

Test Plan:

ninja all check

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D12326

Details

Provenance
FabienAuthored on Oct 20 2022, 11:12
FabienPushed on Oct 21 2022, 08:34
Reviewer
Restricted Project
Differential Revision
D12326: Make CAddrMan nKey private
Parents
rABCde8e2aedcd5c: net: don't bind on 0.0.0.0 if binds are restricted to Tor
Branches
Unknown
Tags
Unknown