HomePhabricator

[net processing] Move Misbehaving() to PeerManager

Description

[net processing] Move Misbehaving() to PeerManager

Summary:
Completes backport (9/9) of core PR19791:
https://github.com/bitcoin/bitcoin/pull/19791/commits/bb6a32ce9983c72afa90f41a43a47ffd703ca006

Depends on D9048.

Also moves the other Misbehaving() prototype (specific to our
codebase) as a private method.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Subscribers: majcosta

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Aug 24 2020, 15:56
FabienCommitted on Jan 26 2021, 07:24
FabienPushed on Jan 26 2021, 07:26
Reviewer
Restricted Project
Differential Revision
D9049: [net processing] Move Misbehaving() to PeerManager
Parents
rABCeda85704fcd2: Improve asmap checks and add sanity check
Branches
Unknown
Tags
Unknown