-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' arc lint
This is a partial backport of core#21506
https://github.com/bitcoin/bitcoin/pull/21506/commits/91f6e6e6d1720e1154ad3f70a5098e9028efa84a
Depends on D13323