Would a patch be supported to change this function to return enum?
<!-- Describe the issue -->
This function is returning magic numbers [0, 1, 2} bitcoin/src/banman.cpp int BanMan::IsBannedLevel(CNetAddr net_addr)
<!--- What behavior did you expect? -->
Should use an enum.
latest github trunk.