mirror of
https://github.com/monero-project/monero.git
synced 2025-08-18 16:08:02 -04:00
rpc: limit the number of txes for get_blocks.bin
This commit is contained in:
parent
2bccbeecb3
commit
1eb14af1a3
11 changed files with 32 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue