HomePhabricator

Rename CheckIfBanned() to MaybeDiscourageAndDisconnect()

Description

Rename CheckIfBanned() to MaybeDiscourageAndDisconnect()

Summary:
This completes backport of core PR19219.
This renaming part was previously skipped from D7146 due to missing
backports:
https://reviews.bitcoinabc.org/D7146?id=22789#inline-42357

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Jan 5 2021, 13:25
FabienPushed on Jan 6 2021, 10:47
Reviewer
Restricted Project
Differential Revision
D8791: Rename CheckIfBanned() to MaybeDiscourageAndDisconnect()
Parents
rABCa5e788409e94: [net_processing] Move ProcessMessage to PeerLogicValidation
Branches
Unknown
Tags
Unknown