diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-02-28 19:43:06 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-02-28 19:43:06 -0800 |
commit | e22655a1877037cbf6c6668d038437b3ebec1cb4 (patch) | |
tree | ff0c99833b31f9cdcab1aa00f80be39af2e55858 /src/rpc/rpc_args.h | |
parent | Merge pull request #6213 (diff) | |
parent | --disable-ban-rpc option to prevent RPC users from banning (diff) | |
download | monero-e22655a1877037cbf6c6668d038437b3ebec1cb4.tar.xz |
Merge pull request #6215
a2578892 --disable-ban-rpc option to prevent RPC users from banning (naughtyfox)
Diffstat (limited to 'src/rpc/rpc_args.h')
-rw-r--r-- | src/rpc/rpc_args.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/rpc_args.h b/src/rpc/rpc_args.h index bdb9c70d5..ac6eb2744 100644 --- a/src/rpc/rpc_args.h +++ b/src/rpc/rpc_args.h @@ -65,6 +65,7 @@ namespace cryptonote const command_line::arg_descriptor<std::vector<std::string>> rpc_ssl_allowed_fingerprints; const command_line::arg_descriptor<bool> rpc_ssl_allow_chained; const command_line::arg_descriptor<bool> rpc_ssl_allow_any_cert; + const command_line::arg_descriptor<bool> disable_rpc_ban; }; // `allow_any_cert` bool toggles `--rpc-ssl-allow-any-cert` configuration @@ -85,5 +86,6 @@ namespace cryptonote std::vector<std::string> access_control_origins; boost::optional<tools::login> login; // currently `boost::none` if unspecified by user epee::net_utils::ssl_options_t ssl_options = epee::net_utils::ssl_support_t::e_ssl_support_enabled; + bool disable_rpc_ban = false; }; } |