HomePhabricator

[net processing] Move MaybePunishNodeForBlock into PeerManager

Description

[net processing] Move MaybePunishNodeForBlock into PeerManager

Summary:
Partial backport (5/9) of core PR19791:
https://github.com/bitcoin/bitcoin/pull/19791/commits/b70cd890e375e904b7f36b3d959e5656f5a5cbcd

Depends on D9038.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Aug 24 2020, 14:56
FabienCommitted on Jan 23 2021, 15:13
FabienPushed on Jan 23 2021, 15:15
Reviewer
Restricted Project
Differential Revision
D9043: [net processing] Move MaybePunishNodeForBlock into PeerManager
Parents
rABC6a28c545f1bd: [net processing] Move ProcessHeadersMessage to PeerManager
Branches
Unknown
Tags
Unknown