aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_config.h
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-12-29 10:48:05 -0800
committerAlexander Blair <snipa@jagtech.io>2020-12-29 10:48:05 -0800
commit36dfd41e01ebc852e094f268433344404c042591 (patch)
tree35a6905e952e09be11f8d037f73d098e21047489 /src/cryptonote_config.h
parentMerge pull request #7219 (diff)
parentrpc: limit the number of txes for get_blocks.bin (diff)
downloadmonero-36dfd41e01ebc852e094f268433344404c042591.tar.xz
Merge pull request #7222v0.17.1.8
218a10967 rpc: limit the number of txes for get_blocks.bin (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_config.h')
-rw-r--r--src/cryptonote_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h
index 97706f745..2cb28b2b1 100644
--- a/src/cryptonote_config.h
+++ b/src/cryptonote_config.h
@@ -124,7 +124,8 @@
#define CRYPTONOTE_MAX_FRAGMENTS 20 // ~20 * NOISE_BYTES max payload size for covert/noise send
-#define COMMAND_RPC_GET_BLOCKS_FAST_MAX_COUNT 1000
+#define COMMAND_RPC_GET_BLOCKS_FAST_MAX_BLOCK_COUNT 1000
+#define COMMAND_RPC_GET_BLOCKS_FAST_MAX_TX_COUNT 20000
#define P2P_LOCAL_WHITE_PEERLIST_LIMIT 1000
#define P2P_LOCAL_GRAY_PEERLIST_LIMIT 5000