- introduce constant variables score_before and score_after in order to improve readability
- deduplicate calls to LogPrint(), eliminates else-branch
- update BAN to DISCOURAGE in logs (missed in D6506)
This is a backport of core#22495
Differential D13342
p2p: refactor: tidy up `PeerManagerImpl::Misbehaving(...)` PiRK on Mar 15 2023, 10:32. Authored by Tags None Subscribers None
Details
This is a backport of core#22495 ninja all check-all
Diff Detail
|