aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rpc_args.h
diff options
context:
space:
mode:
authornaughtyfox <mail.for.milo@gmail.com>2019-12-04 15:21:39 +0300
committernaughtyfox <mail.for.milo@gmail.com>2019-12-04 17:45:27 +0300
commita2578892c06c570d9a45a136898dbd89bba9d37c (patch)
treeea4bcd6d43002fa94e094e8c935f3ff9b7a687a3 /src/rpc/rpc_args.h
parentANONYMITY_NETWORKS.md : fix unintentional wrapping (diff)
downloadmonero-a2578892c06c570d9a45a136898dbd89bba9d37c.tar.xz
--disable-ban-rpc option to prevent RPC users from banning
Diffstat (limited to 'src/rpc/rpc_args.h')
-rw-r--r--src/rpc/rpc_args.h2
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;
};
}