diff options
author | luigi1111 <luigi1111w@gmail.com> | 2022-04-25 10:22:03 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2022-04-25 10:22:03 -0500 |
commit | 67e5ca9ad6f1c861ad315476a88f9d36c38a0abb (patch) | |
tree | e566972a68a03dd0447f8d1ab0cc3601c3bdf4d0 /src/cryptonote_config.h | |
parent | Merge pull request #8260 (diff) | |
parent | add a sanity check to RPC input data size (diff) | |
download | monero-67e5ca9ad6f1c861ad315476a88f9d36c38a0abb.tar.xz |
Merge pull request #8275
9209880 add a sanity check to RPC input data size (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_config.h')
-rw-r--r-- | src/cryptonote_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index f02eeee71..f2a8e9b79 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -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 |