mirror of
https://github.com/monero-project/monero.git
synced 2025-08-18 13:37:58 -04:00
Merge pull request #8275
9209880
add a sanity check to RPC input data size (moneromooo-monero)
This commit is contained in:
commit
67e5ca9ad6
4 changed files with 15 additions and 0 deletions
|
@ -126,6 +126,7 @@
|
|||
|
||||
#define COMMAND_RPC_GET_BLOCKS_FAST_MAX_BLOCK_COUNT 1000
|
||||
#define COMMAND_RPC_GET_BLOCKS_FAST_MAX_TX_COUNT 20000
|
||||
#define MAX_RPC_CONTENT_LENGTH 1048576 // 1 MB
|
||||
|
||||
#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