aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.h
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-02-28 19:43:06 -0800
committerAlexander Blair <snipa@jagtech.io>2020-02-28 19:43:06 -0800
commite22655a1877037cbf6c6668d038437b3ebec1cb4 (patch)
treeff0c99833b31f9cdcab1aa00f80be39af2e55858 /src/rpc/core_rpc_server.h
parentMerge pull request #6213 (diff)
parent--disable-ban-rpc option to prevent RPC users from banning (diff)
downloadmonero-e22655a1877037cbf6c6668d038437b3ebec1cb4.tar.xz
Merge pull request #6215
a2578892 --disable-ban-rpc option to prevent RPC users from banning (naughtyfox)
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 fbcffd120..3b8e9c20a 100644
--- a/src/rpc/core_rpc_server.h
+++ b/src/rpc/core_rpc_server.h
@@ -286,6 +286,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;
};
}