diff options
author | Jon Atack <jon@atack.com> | 2021-03-22 19:19:05 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-05-12 10:50:58 +0200 |
commit | 91f6e6e6d1720e1154ad3f70a5098e9028efa84a (patch) | |
tree | 62f694aab492d4de41d09ba3b8036978c6de8b01 /.tx | |
parent | 2e30e328a7a46e0405664fd0cb31d971171f71d1 (diff) | |
download | bitcoin-91f6e6e6d1720e1154ad3f70a5098e9028efa84a.tar.xz |
scripted-diff: add NetPermissionFlags scopes where not already present
-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'
-END VERIFY SCRIPT-
Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
Diffstat (limited to '.tx')
0 files changed, 0 insertions, 0 deletions