From a2578892c06c570d9a45a136898dbd89bba9d37c Mon Sep 17 00:00:00 2001 From: naughtyfox Date: Wed, 4 Dec 2019 15:21:39 +0300 Subject: --disable-ban-rpc option to prevent RPC users from banning --- src/rpc/rpc_args.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rpc/rpc_args.h') 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> rpc_ssl_allowed_fingerprints; const command_line::arg_descriptor rpc_ssl_allow_chained; const command_line::arg_descriptor rpc_ssl_allow_any_cert; + const command_line::arg_descriptor disable_rpc_ban; }; // `allow_any_cert` bool toggles `--rpc-ssl-allow-any-cert` configuration @@ -85,5 +86,6 @@ namespace cryptonote std::vector access_control_origins; boost::optional 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; }; } -- cgit v1.2.3