HomePhabricator

Add BCLog::NET category to disconnect ban message

Description

Add BCLog::NET category to disconnect ban message

Summary: Continuous reconnecting currently causes banned nodes to spam logs and fill them up with excessive amounts of data. This commit makes such messages goto the NET logging category, which is non-default. This should remove the DoS vector unless individuals are explicitly interested in such messages.

Test Plan:

NA

Reviewers: #bitcoin_abc, jasonbcox, deadalnix

Reviewed By: #bitcoin_abc, jasonbcox, deadalnix

Subscribers: teamcity

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

Details