aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.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/core_rpc_server.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/core_rpc_server.h')
-rw-r--r--src/rpc/core_rpc_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.h b/src/rpc/core_rpc_server.h
index 23c611470..54a4945e6 100644
--- a/src/rpc/core_rpc_server.h
+++ b/src/rpc/core_rpc_server.h
@@ -285,6 +285,7 @@ private:
epee::critical_section m_host_fails_score_lock;
std::map<std::string, uint64_t> m_host_fails_score;
std::unique_ptr<rpc_payment> m_rpc_payment;
+ bool disable_rpc_ban;
};
}