diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-06-06 13:28:47 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-06-08 06:59:03 -0400 |
commit | fa2c2b50d895ff3402b82ce3db69bfc43053b519 (patch) | |
tree | 7a29636a0822e75a6b8734dfc7492c328d836b0b /src/net_permissions.cpp | |
parent | 399a0d9dc7a15bd4a9184ba19e1f251cfbb450c8 (diff) |
doc: Extract net permissions doc
Diffstat (limited to 'src/net_permissions.cpp')
-rw-r--r-- | src/net_permissions.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net_permissions.cpp b/src/net_permissions.cpp index 22fa5ee73b..d76a512a6c 100644 --- a/src/net_permissions.cpp +++ b/src/net_permissions.cpp @@ -8,6 +8,14 @@ #include <util/system.h> #include <util/translation.h> +const std::vector<std::string> NET_PERMISSIONS_DOC{ + "bloomfilter (allow requesting BIP37 filtered blocks and transactions)", + "noban (do not ban for misbehavior)", + "forcerelay (relay transactions that are already in the mempool; implies relay)", + "relay (relay even in -blocksonly mode)", + "mempool (allow requesting BIP35 mempool contents)", +}; + // The parse the following format "perm1,perm2@xxxxxx" bool TryParsePermissionFlags(const std::string str, NetPermissionFlags& output, size_t& readen, std::string& error) { |