aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_config.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-08-15 17:10:49 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-08-15 17:10:49 -0500
commitdf064eaa36774248b35df09f88be6721e217206b (patch)
treedaf11400f588121333477312701d9f62d30dd759 /src/cryptonote_config.h
parentMerge pull request #5637 (diff)
parentBans for RPC connections (diff)
downloadmonero-df064eaa36774248b35df09f88be6721e217206b.tar.xz
Merge pull request #5649
a182df2 Bans for RPC connections (hyc)
Diffstat (limited to 'src/cryptonote_config.h')
-rw-r--r--src/cryptonote_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h
index fc718c4f7..b68bb41e1 100644
--- a/src/cryptonote_config.h
+++ b/src/cryptonote_config.h
@@ -128,6 +128,8 @@
#define P2P_SUPPORT_FLAG_FLUFFY_BLOCKS 0x01
#define P2P_SUPPORT_FLAGS P2P_SUPPORT_FLAG_FLUFFY_BLOCKS
+#define RPC_IP_FAILS_BEFORE_BLOCK 3
+
#define ALLOW_DEBUG_COMMANDS
#define CRYPTONOTE_NAME "bitmonero"