Page MenuHomePhabricator

net processing: Move peer_map to PeerManager
ClosedPublic

Authored by Fabien on Jan 21 2022, 14:09.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC507b5a05ef9e: net processing: Move peer_map to PeerManager
Summary
This moves g_peer_map from a global in net_processing.cpp's unnamed namespace to being a member m_peer_map of PeerManager.

Backport of core#19910.

Ref T1696.

Test Plan
ninja all check-all