diff options
author | Pieter Wuille <pieter@wuille.net> | 2020-06-10 17:11:38 -0700 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-07-08 09:10:52 +0800 |
commit | 2b79ac740622218a52e2cf3ae1755dd3a8d4847a (patch) | |
tree | 10ee4ea03b0960eab263bcfcf9cfb8253264194c /src/net_processing.h | |
parent | 04773480575ac79f238ac5764247dddd0cae5051 (diff) | |
download | bitcoin-2b79ac740622218a52e2cf3ae1755dd3a8d4847a.tar.xz |
Clean up separated ban/discourage interface
Github-Pull: #19219
Rebased-From: 2ad58381fffb33d611abf900b73d9e6b5a4e35f8
Diffstat (limited to 'src/net_processing.h')
-rw-r--r-- | src/net_processing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.h b/src/net_processing.h index 3d9bc65a3a..ddb1780148 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -28,7 +28,7 @@ private: BanMan* const m_banman; CTxMemPool& m_mempool; - bool CheckIfBanned(CNode* pnode) EXCLUSIVE_LOCKS_REQUIRED(cs_main); + bool MaybeDiscourageAndDisconnect(CNode* pnode) EXCLUSIVE_LOCKS_REQUIRED(cs_main); public: PeerLogicValidation(CConnman* connman, BanMan* banman, CScheduler& scheduler, CTxMemPool& pool); |