You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #19910: net processing: Move peer_map to PeerManager
3025ca9 [net processing] Add RemovePeer() (John Newbery)
a20ab22 [net processing] Make GetPeerRef const (John Newbery)
ed7e469 [net_processing] Move peer_map to PeerManager (John Newbery)
a529fd3 [net processing] Move GetNodeStateStats into PeerManager (John Newbery)
Pull request description:
This moves `g_peer_map` from a global in net_processing.cpp's unnamed namespace to being a member `m_peer_map` of `PeerManager`.
ACKs for top commit:
theuni:
Re-ACK 3025ca9.
dongcarl:
Re-ACK 3025ca9
hebasto:
re-ACK 3025ca9, since my [previous](bitcoin/bitcoin#19910 (review)) review only reverted the change that introduced NRVO in `PeerManager::GetPeerRef`, and comments are fixed in the proper commits.
Tree-SHA512: 6369eb3c688ac5b84f89f7674115f78ff02edbed76063ac2ebb1759894c9e973883e10821a35dab92bd3d738280acc095bd5368f552a060b83cd309330387d47
0 commit comments