- add NetPermissionFlags scopes
- drop redundant PF_ permission flags prefixes
- drop ALL_CAPS naming per https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Renum-caps
- rename IsImplicit to Implicit
- update noban documentation in net_processing.cpp
```
-BEGIN VERIFY SCRIPT-
s() { git grep -l "$1" -- 'src' ':!src/net_permissions.h' | xargs sed -i -E "s/([^:])$1/\1NetPermissionFlags::$1/"; }
s 'PF_NONE'
s 'PF_BLOOMFILTER'
s 'PF_RELAY'
s 'PF_FORCERELAY'
s 'PF_DOWNLOAD'
s 'PF_NOBAN'
s 'PF_MEMPOOL'
s 'PF_ADDR'
s 'PF_ISIMPLICIT'
s 'PF_ALL'
s 'PF_BYPASS_PROOF_REQUEST_LIMITS'
s() { git grep -l "$1" src | xargs sed -i "s/$1/$2/g"; }
s 'PF_NONE' 'None'
s 'PF_BLOOMFILTER' 'BloomFilter'
s 'PF_RELAY' 'Relay'
s 'PF_FORCERELAY' 'ForceRelay'
s 'PF_DOWNLOAD' 'Download'
s 'PF_NOBAN' 'NoBan'
s 'PF_MEMPOOL' 'Mempool'
s 'PF_ADDR' 'Addr'
s 'PF_ISIMPLICIT' 'Implicit'
s 'PF_ALL' 'All'
s 'PF_BYPASS_PROOF_REQUEST_LIMITS' 'BypassProofRequestLimits'
s() { git grep -l "$1" src/net_processing.cpp | xargs sed -i "s/$1/$2/g"; }
s 'the noban permission' 'NetPermissionFlags::NoBan permission'
s 'the NOBAN permission flag' 'NetPermissionFlags::NoBan permission'
s 'noban permission' 'NetPermissionFlags::NoBan permission'
arc lint
-END VERIFY SCRIPT-
```
This is a partial backport of [[https://github.com/bitcoin/bitcoin/pull/21506 | core#21506]]
https://github.com/bitcoin/bitcoin/pull/21506/commits/91f6e6e6d1720e1154ad3f70a5098e9028efa84a
https://github.com/bitcoin/bitcoin/pull/21506/commits/a95540cf435029f06e56749802d71315ca76b0dd
Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
Depends on D13323