diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-12-29 10:44:24 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-12-29 10:44:25 -0800 |
commit | a1eca8ca7e595f33a44cd77ac1759b2fd9f97a7d (patch) | |
tree | 3e1ea48c47ccc4bde5dd389527dd7ce61b775925 /src/cryptonote_config.h | |
parent | Merge pull request #7218 (diff) | |
parent | rpc: limit the number of txes for get_blocks.bin (diff) | |
download | monero-a1eca8ca7e595f33a44cd77ac1759b2fd9f97a7d.tar.xz |
Merge pull request #7221
1eb14af1a 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.h | 3 |
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 |