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.
Differential D10862
net processing: Move peer_map to PeerManager Fabien on Jan 21 2022, 14:09. Authored by Tags None Subscribers None
Details
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. ninja all check-all
Diff Detail
|