Page MenuHomePhabricator

[net processing] Move mapNodeState into PeerManagerImpl
ClosedPublic

Authored by PiRK on Nov 28 2023, 14:01.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC6e2be260e810: [net processing] Move mapNodeState into PeerManagerImpl
Summary

Also move a couple of BitcoinABC functions into PeerManagerImpl because they require access to State

This is a partial backport of core#24543
https://github.com/bitcoin/bitcoin/pull/24543/commits/37ecaf3e7a028486a0a1c9b717e8eb4214215805

Depends on D14861

Test Plan

ninja all check-all

Event Timeline

PiRK requested review of this revision.Nov 28 2023, 14:01
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/net_processing.cpp
956

dito

src/net_processing.h
117

layout

This revision is now accepted and ready to land.Nov 29 2023, 10:14