HomePhabricator

[net processing] Move mapNodeState into PeerManagerImpl

Description

[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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
dergoegge <n.goeggi@gmail.com>Authored on Feb 20 2022, 14:20
PiRKCommitted on Nov 29 2023, 11:38
PiRKPushed on Nov 29 2023, 11:38
Reviewer
Restricted Project
Differential Revision
D14862: [net processing] Move mapNodeState into PeerManagerImpl
Parents
rABC0316a790003a: [net processing] Move CNodeState declaration above PeerManagerImpl
Branches
Unknown
Tags
Unknown